Skip to content

Commit 552d05e

Browse files
committed
lint fix
1 parent fbfe206 commit 552d05e

File tree

1 file changed

+24
-10
lines changed

1 file changed

+24
-10
lines changed

test/Compilation.test.js

Lines changed: 24 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,33 @@ const Compilation = require("../lib/Compilation");
99
describe("Compilation", () => {
1010
describe('sortModules', () => {
1111
it('should sort modules by index', () => {
12-
let modules = [
13-
{index: 5},
14-
{index: 4},
15-
{index: 8},
16-
{index: 1},
12+
let modules = [{
13+
index: 5
14+
},
15+
{
16+
index: 4
17+
},
18+
{
19+
index: 8
20+
},
21+
{
22+
index: 1
23+
},
1724
];
1825

1926
Compilation.prototype.sortModules(modules);
20-
modules.should.match([
21-
{index: 1},
22-
{index: 4},
23-
{index: 5},
24-
{index: 8},
27+
modules.should.match([{
28+
index: 1
29+
},
30+
{
31+
index: 4
32+
},
33+
{
34+
index: 5
35+
},
36+
{
37+
index: 8
38+
},
2539
]);
2640
});
2741
});

0 commit comments

Comments
 (0)