From 552d05e26828afcaea9dd81aeb4a72c7535a2f00 Mon Sep 17 00:00:00 2001 From: Jordan West Date: Mon, 7 May 2018 11:54:36 +1000 Subject: [PATCH] lint fix --- test/Compilation.test.js | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) diff --git a/test/Compilation.test.js b/test/Compilation.test.js index 2d2d1aa64..d07d29b22 100644 --- a/test/Compilation.test.js +++ b/test/Compilation.test.js @@ -9,19 +9,33 @@ const Compilation = require("../lib/Compilation"); describe("Compilation", () => { describe('sortModules', () => { it('should sort modules by index', () => { - let modules = [ - {index: 5}, - {index: 4}, - {index: 8}, - {index: 1}, + let modules = [{ + index: 5 + }, + { + index: 4 + }, + { + index: 8 + }, + { + index: 1 + }, ]; Compilation.prototype.sortModules(modules); - modules.should.match([ - {index: 1}, - {index: 4}, - {index: 5}, - {index: 8}, + modules.should.match([{ + index: 1 + }, + { + index: 4 + }, + { + index: 5 + }, + { + index: 8 + }, ]); }); });