Skip to content

Commit d0a84d2

Browse files
committed
tweaked tests to appease ESLint
1 parent e12a3ae commit d0a84d2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/test_manifest.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,20 @@ describe("manifest", _ => {
2323
it("maps original to actual file names with deterministic serialization", () => {
2424
let manifest = new Manifest(root);
2525
return manifest.set("foo.png", "foo-abc123.png").
26-
then(_ => { // eslint-disable-next-line quotes
27-
assertSame(JSON.stringify(manifest), `{"foo.png":"/foo-abc123.png"}`);
26+
then(_ => {
27+
assertSame(JSON.stringify(manifest), '{"foo.png":"/foo-abc123.png"}');
2828

2929
return manifest.set("bar.css", "bar-def456.css");
3030
}).
3131
then(_ => {
32-
assertSame(JSON.stringify(manifest), // eslint-disable-next-line quotes
33-
`{"bar.css":"/bar-def456.css","foo.png":"/foo-abc123.png"}`);
32+
assertSame(JSON.stringify(manifest),
33+
'{"bar.css":"/bar-def456.css","foo.png":"/foo-abc123.png"}');
3434

3535
return manifest.set("xox.js", "xox-ghi789.js");
3636
}).
3737
then(_ => {
38-
assertSame(JSON.stringify(manifest), // eslint-disable-next-line quotes
39-
`{"bar.css":"/bar-def456.css","foo.png":"/foo-abc123.png","xox.js":"/xox-ghi789.js"}`);
38+
assertSame(JSON.stringify(manifest), // eslint-disable-next-line max-len
39+
'{"bar.css":"/bar-def456.css","foo.png":"/foo-abc123.png","xox.js":"/xox-ghi789.js"}');
4040
});
4141
});
4242
});

0 commit comments

Comments
 (0)