File tree 1 file changed +2
-8
lines changed
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';
4
4
import { Readable } from 'stream' ;
5
5
import buffer from 'buffer' ;
6
6
import Blob from './index.js' ;
7
- import sync , { blobFromSync , blobFrom } from './from.js' ;
7
+ import syncBlob , { blobFromSync , blobFrom } from './from.js' ;
8
8
9
9
const license = fs . readFileSync ( './LICENSE' , 'utf-8' ) ;
10
10
@@ -187,12 +187,6 @@ test('Reading empty blobs', async t => {
187
187
t . is ( actual , '' ) ;
188
188
} ) ;
189
189
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
-
196
190
test ( 'Blob-ish class is an instance of Blob' , t => {
197
191
class File {
198
192
stream ( ) { }
@@ -250,7 +244,7 @@ test('Can use named import - as well as default', async t => {
250
244
} ) ;
251
245
252
246
test ( 'default from.js exports blobFromSync' , t => {
253
- t . is ( blobFromSync , sync ) ;
247
+ t . is ( blobFromSync , syncBlob ) ;
254
248
} ) ;
255
249
256
250
if ( buffer . Blob ) {
You can’t perform that action at this time.
0 commit comments