Skip to content

Commit fabbd8a

Browse files
committed
Fix ESLint errors
1 parent 94c5bd4 commit fabbd8a

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

test.js

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -36,40 +36,40 @@ test('Blob ctor parts', async t => {
3636
t.is(await blob.text(), 'abcdefg[object Object]foo=');
3737
});
3838

39-
test("Blob ctor threats an object with @@iterator as a sequence", async t => {
40-
const blob = new Blob({[Symbol.iterator]: Array.prototype[Symbol.iterator]})
39+
test('Blob ctor threats an object with @@iterator as a sequence', async t => {
40+
const blob = new Blob({[Symbol.iterator]: Array.prototype[Symbol.iterator]});
4141

42-
t.is(blob.size, 0)
43-
t.is(await blob.text(), "")
44-
})
42+
t.is(blob.size, 0);
43+
t.is(await blob.text(), '');
44+
});
4545

46-
test("Blob ctor reads blob parts from object with @@iterator", async t => {
47-
const input = ["one", "two", "three"]
48-
const expected = input.join("")
46+
test('Blob ctor reads blob parts from object with @@iterator', async t => {
47+
const input = ['one', 'two', 'three'];
48+
const expected = input.join('');
4949

5050
const blob = new Blob({
5151
* [Symbol.iterator]() {
52-
yield* input
52+
yield * input;
5353
}
54-
})
54+
});
5555

56-
t.is(blob.size, new TextEncoder().encode(expected).byteLength)
57-
t.is(await blob.text(), expected)
58-
})
56+
t.is(blob.size, new TextEncoder().encode(expected).byteLength);
57+
t.is(await blob.text(), expected);
58+
});
5959

60-
test("Blob ctor threats a string as a sequence", async t => {
61-
const expected = "abc"
62-
const blob = new Blob(expected)
60+
test('Blob ctor threats a string as a sequence', async t => {
61+
const expected = 'abc';
62+
const blob = new Blob(expected);
6363

64-
t.is(await blob.text(), expected)
65-
})
64+
t.is(await blob.text(), expected);
65+
});
6666

67-
test("Blob ctor threats Uint8Array as a sequence", async t => {
68-
const input = [1, 2, 3]
69-
const blob = new Blob(new Uint8Array(input))
67+
test('Blob ctor threats Uint8Array as a sequence', async t => {
68+
const input = [1, 2, 3];
69+
const blob = new Blob(new Uint8Array(input));
7070

71-
t.is(await blob.text(), input.join(""))
72-
})
71+
t.is(await blob.text(), input.join(''));
72+
});
7373

7474
test('Blob size', t => {
7575
const data = 'a=1';

0 commit comments

Comments
 (0)