Skip to content

Commit

Permalink
dependencies(eslint): upgrade to 7.18.0
Browse files Browse the repository at this point in the history
also upgrades eslint plugins
  • Loading branch information
hasezoey committed Feb 10, 2021
1 parent 8adf360 commit 6dc0b75
Show file tree
Hide file tree
Showing 3 changed files with 134 additions and 139 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,20 @@
"@semantic-release/release-notes-generator": "9.0.1",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.5",
"@typescript-eslint/eslint-plugin": "4.6.0",
"@typescript-eslint/parser": "4.6.0",
"@typescript-eslint/eslint-plugin": "4.14.1",
"@typescript-eslint/parser": "4.14.1",
"commitlint": "11.0.0",
"conventional-changelog-conventionalcommits": "4.4.0",
"cross-env": "7.0.2",
"doctoc": "1.4.0",
"eslint": "7.12.1",
"eslint-config-prettier": "6.15.0",
"eslint-plugin-prettier": "3.1.4",
"eslint": "7.18.0",
"eslint-config-prettier": "7.2.0",
"eslint-plugin-prettier": "3.3.1",
"husky": "4.3.0",
"jest": "26.6.3",
"lerna": "3.22.1",
"lint-staged": "10.5.1",
"prettier": "2.1.2",
"prettier": "2.2.1",
"semantic-release": "17.2.2",
"ts-jest": "26.4.4",
"typescript": "4.1.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,11 @@ describe('MongoMemoryReplSet', () => {
it('"getInstanceOpts" should return "storageEngine" if in baseOpts', () => {
const replSet = new MongoMemoryReplSet();

// @ts-expect-error because "getInstanceOpts" is protected
expect(replSet.getInstanceOpts({ storageEngine: 'wiredTiger' })).toMatchObject<
MongoMemoryInstanceProp // this is needed, otherwise no ts error when "storageEngine" might get changed
>({
expect(
// @ts-expect-error because "getInstanceOpts" is protected
replSet.getInstanceOpts({ storageEngine: 'wiredTiger' })
).toMatchObject<MongoMemoryInstanceProp>({
// this is needed, otherwise no ts error when "storageEngine" might get changed
storageEngine: 'wiredTiger',
});
});
Expand Down

0 comments on commit 6dc0b75

Please sign in to comment.