We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbfe206 commit 552d05eCopy full SHA for 552d05e
test/Compilation.test.js
@@ -9,19 +9,33 @@ const Compilation = require("../lib/Compilation");
9
describe("Compilation", () => {
10
describe('sortModules', () => {
11
it('should sort modules by index', () => {
12
- let modules = [
13
- {index: 5},
14
- {index: 4},
15
- {index: 8},
16
- {index: 1},
+ let modules = [{
+ index: 5
+ },
+ {
+ index: 4
17
18
19
+ index: 8
20
21
22
+ index: 1
23
24
];
25
26
Compilation.prototype.sortModules(modules);
- modules.should.match([
27
+ modules.should.match([{
28
29
30
31
32
33
34
35
36
37
38
39
]);
40
});
41
0 commit comments