Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
octogonz committed Oct 19, 2019
1 parent 7e7fd44 commit 7f7aaa7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions tests/lib/cli-engine/config-array-factory.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ function assertConfig(actual, providedExpected) {
parserOptions: {},
plugins: [],
reportUnusedDisableDirectives: void 0,
resolveRelativeToConfigFile: void 0,
rules: {},
settings: {},
...providedExpected
Expand Down
5 changes: 4 additions & 1 deletion tests/lib/cli-engine/config-array/config-array.js
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ describe("ConfigArray", () => {
},
plugins: {},
processor: null,
resolveRelativeToConfigFile: void 0,
reportUnusedDisableDirectives: void 0,
rules: {},
settings: {}
Expand Down Expand Up @@ -466,6 +467,7 @@ describe("ConfigArray", () => {
},
plugins: {},
processor: null,
resolveRelativeToConfigFile: void 0,
reportUnusedDisableDirectives: void 0,
rules: {},
settings: {}
Expand Down Expand Up @@ -609,7 +611,8 @@ describe("ConfigArray", () => {
settings: {},
processor: null,
noInlineConfig: void 0,
reportUnusedDisableDirectives: void 0
reportUnusedDisableDirectives: void 0,
resolveRelativeToConfigFile: void 0
});
assert.deepStrictEqual(config[0], {
rules: {
Expand Down

0 comments on commit 7f7aaa7

Please sign in to comment.