File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import {Response} from 'node-fetch';
44import { Readable } from 'stream' ;
55import buffer from 'buffer' ;
66import Blob from './index.js' ;
7- import sync , { blobFromSync , blobFrom } from './from.js' ;
7+ import syncBlob , { blobFromSync , blobFrom } from './from.js' ;
88
99const license = fs . readFileSync ( './LICENSE' , 'utf-8' ) ;
1010
@@ -187,12 +187,6 @@ test('Reading empty blobs', async t => {
187187 t . is ( actual , '' ) ;
188188} ) ;
189189
190- test ( 'Reading empty blobs' , async t => {
191- const blob = blobFrom ( './LICENSE' ) . slice ( 0 , 0 ) ;
192- const actual = await blob . text ( ) ;
193- t . is ( actual , '' ) ;
194- } ) ;
195-
196190test ( 'Blob-ish class is an instance of Blob' , t => {
197191 class File {
198192 stream ( ) { }
@@ -250,7 +244,7 @@ test('Can use named import - as well as default', async t => {
250244} ) ;
251245
252246test ( 'default from.js exports blobFromSync' , t => {
253- t . is ( blobFromSync , sync ) ;
247+ t . is ( blobFromSync , syncBlob ) ;
254248} ) ;
255249
256250if ( buffer . Blob ) {
You can’t perform that action at this time.
0 commit comments