Skip to content

Commit 4419e9e

Browse files
committed
eslint --fix .
1 parent a40ef2b commit 4419e9e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

test/index.spec.js

+6-7
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,12 @@ expect.addAssertion(
4141
'<array> to produce a diff of <string>',
4242
(expect, subject, value) => {
4343
expect.errorMode = 'bubble';
44-
subject = subject.map(
45-
item =>
46-
typeof item === 'string'
47-
? new jsdom.JSDOM(
48-
`<!DOCTYPE html><html><head></head><body>${item}</body></html>`
49-
).window.document.body.firstChild
50-
: item
44+
subject = subject.map(item =>
45+
typeof item === 'string'
46+
? new jsdom.JSDOM(
47+
`<!DOCTYPE html><html><head></head><body>${item}</body></html>`
48+
).window.document.body.firstChild
49+
: item
5150
);
5251
expect(
5352
expect.diff(subject[0], subject[1]).diff.toString(),

0 commit comments

Comments
 (0)