Skip to content

Commit

Permalink
Fix import order to match ESLint sort-import
Browse files Browse the repository at this point in the history
  • Loading branch information
Xenonym committed Mar 23, 2019
1 parent 32fdeaf commit 767f1b0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion test/functional/testUtil/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const diffHtml = require('./diffHtml');
const fs = require('fs');
const path = require('path');
const walkSync = require('walk-sync');
const diffHtml = require('./diffHtml');

const _ = {};
_.isEqual = require('lodash/isEqual');
Expand Down
2 changes: 1 addition & 1 deletion test/functional/test_site/testUtil/test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const diffHtml = require('./diffHtml');
const fs = require('fs');
const path = require('path');
const walkSync = require('walk-sync');
const diffHtml = require('./diffHtml');

const _ = {};
_.isEqual = require('lodash/isEqual');
Expand Down
2 changes: 1 addition & 1 deletion test/unit/Site.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const Site = require('../../src/Site');
const path = require('path');
const fs = require('fs-extra-promise');
const ghpages = require('gh-pages');
const Site = require('../../src/Site');

const {
FOOTER_MD_DEFAULT,
Expand Down
3 changes: 1 addition & 2 deletions test/unit/cliUtil.test.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const cliUtil = require('../../src/util/cliUtil');
const fs = require('fs');
const path = require('path');

const cliUtil = require('../../src/util/cliUtil');
const { SITE_JSON_DEFAULT } = require('./utils/data');

jest.mock('fs');
Expand Down Expand Up @@ -56,4 +56,3 @@ test('findRootFolder without user specified root throws error if no parent dirs
})
.toThrow(`No config file found in parent directories of ${nestedDir}`);
});

2 changes: 1 addition & 1 deletion test/unit/parser.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const MarkBind = require('../../src/lib/markbind/src/parser.js');
const path = require('path');
const fs = require('fs');
const MarkBind = require('../../src/lib/markbind/src/parser.js');
const { USER_VARIABLES_DEFAULT } = require('./utils/data');

jest.mock('fs');
Expand Down

0 comments on commit 767f1b0

Please sign in to comment.