Skip to content

Commit

Permalink
Merge pull request #63 from hogashi/renovate/eslint-plugin-jest-23.x
Browse files Browse the repository at this point in the history
Update dependency eslint-plugin-jest to v23
  • Loading branch information
hogashi authored Feb 2, 2020
2 parents cfcf432 + e4fe998 commit 94a5018
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 10 deletions.
6 changes: 3 additions & 3 deletions __tests__/Utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ describe('Utils', () => {
window.chrome.runtime.sendMessage = jest.fn((_, callback) =>
callback({ data: {} })
);
expect(getOptions()).resolves.toStrictEqual(expected);
return expect(getOptions()).resolves.toStrictEqual(expected);
});

it('設定した値を取得できる', () => {
Expand All @@ -303,7 +303,7 @@ describe('Utils', () => {
window.chrome.runtime.sendMessage = jest.fn((_, callback) =>
callback({})
);
expect(getOptions()).rejects.toBeUndefined();
return expect(getOptions()).rejects.toBeUndefined();
});
});

Expand All @@ -322,7 +322,7 @@ describe('Utils', () => {
OPTION_KEYS.forEach(key => {
expected[key] = isFalse;
});
expect(getOptions()).resolves.toStrictEqual(expected);
return expect(getOptions()).resolves.toStrictEqual(expected);
});
});
});
Expand Down
4 changes: 3 additions & 1 deletion __tests__/popup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ describe('Popup', () => {

describe('保存ボタン押すと設定が保存される', () => {
window.localStorage = {};
expect(window.localStorage).toMatchObject({});
it('最初は空', () => {
expect(window.localStorage).toMatchObject({});
});

const optionsText = OPTIONS_TEXT;
const optionKeys = OPTION_KEYS;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"enzyme-adapter-react-16": "1.15.2",
"eslint": "6.8.0",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-jest": "22.7.2",
"eslint-plugin-jest": "23.6.0",
"eslint-plugin-prettier": "3.1.2",
"eslint-plugin-react": "7.18.2",
"jest": "25.1.0",
Expand Down
42 changes: 37 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1265,6 +1265,15 @@
"@typescript-eslint/typescript-estree" "1.13.0"
eslint-scope "^4.0.0"

"@typescript-eslint/experimental-utils@^2.5.0":
version "2.18.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.18.0.tgz#e4eab839082030282496c1439bbf9fdf2a4f3da8"
integrity sha512-J6MopKPHuJYmQUkANLip7g9I82ZLe1naCbxZZW3O2sIxTiq/9YYoOELEKY7oPg0hJ0V/AQ225h2z0Yp+RRMXhw==
dependencies:
"@types/json-schema" "^7.0.3"
"@typescript-eslint/typescript-estree" "2.18.0"
eslint-scope "^5.0.0"

"@typescript-eslint/[email protected]":
version "1.13.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-1.13.0.tgz#61ac7811ea52791c47dc9fd4dd4a184fae9ac355"
Expand All @@ -1283,6 +1292,19 @@
lodash.unescape "4.0.1"
semver "5.5.0"

"@typescript-eslint/[email protected]":
version "2.18.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.18.0.tgz#cfbd16ed1b111166617d718619c19b62764c8460"
integrity sha512-gVHylf7FDb8VSi2ypFuEL3hOtoC4HkZZ5dOjXvVjoyKdRrvXAOPSzpNRnKMfaUUEiSLP8UF9j9X9EDLxC0lfZg==
dependencies:
debug "^4.1.1"
eslint-visitor-keys "^1.1.0"
glob "^7.1.6"
is-glob "^4.0.1"
lodash "^4.17.15"
semver "^6.3.0"
tsutils "^3.17.1"

"@webassemblyjs/[email protected]":
version "1.8.5"
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.8.5.tgz#51b1c5fe6576a34953bf4b253df9f0d490d9e359"
Expand Down Expand Up @@ -2894,10 +2916,13 @@ [email protected]:
dependencies:
get-stdin "^6.0.0"

[email protected]:
version "22.7.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.7.2.tgz#7ab118a66a34e46ae5e16a128b5d24fd28b43dca"
integrity sha512-Aecqe3ulBVI7amgOycVI8ZPL8o0SnGHOf3zn2/Ciu8TXyXDHcjtwD3hOs3ss/Qh/VAwlW/DMcuiXg5btgF+XMA==
[email protected]:
version "23.6.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-23.6.0.tgz#508b32f80d44058c8c01257c0ee718cfbd521e9d"
integrity sha512-GH8AhcFXspOLqak7fqnddLXEJsrFyvgO8Bm60SexvKSn1+3rWYESnCiWUOCUcBTprNSDSE4CtAZdM4EyV6gPPw==
dependencies:
"@typescript-eslint/experimental-utils" "^2.5.0"
micromatch "^4.0.2"

[email protected]:
version "3.1.2"
Expand Down Expand Up @@ -3468,7 +3493,7 @@ glob-parent@^5.0.0:
dependencies:
is-glob "^4.0.1"

glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4:
glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
version "7.1.6"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6"
integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==
Expand Down Expand Up @@ -7079,6 +7104,13 @@ tslib@^1.8.1, tslib@^1.9.0:
resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286"
integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==

tsutils@^3.17.1:
version "3.17.1"
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.17.1.tgz#ed719917f11ca0dee586272b2ac49e015a2dd759"
integrity sha512-kzeQ5B8H3w60nFY2g8cJIuH7JDpsALXySGtwGJ0p2LSjLgay3NdIpqq5SoOBe46bKDW2iq25irHCr8wjomUS2g==
dependencies:
tslib "^1.8.1"

tsutils@^3.7.0:
version "3.10.0"
resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.10.0.tgz#6f1c95c94606e098592b0dff06590cf9659227d6"
Expand Down

0 comments on commit 94a5018

Please sign in to comment.