Skip to content

Commit a989b84

Browse files
committed
remove dupl test
1 parent e366bb6 commit a989b84

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

test.js

+2-8
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {Response} from 'node-fetch';
44
import {Readable} from 'stream';
55
import buffer from 'buffer';
66
import Blob from './index.js';
7-
import sync, {blobFromSync, blobFrom} from './from.js';
7+
import syncBlob, {blobFromSync, blobFrom} from './from.js';
88

99
const 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-
196190
test('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

252246
test('default from.js exports blobFromSync', t => {
253-
t.is(blobFromSync, sync);
247+
t.is(blobFromSync, syncBlob);
254248
});
255249

256250
if (buffer.Blob) {

0 commit comments

Comments
 (0)