Skip to content

Commit 533b1cd

Browse files
greenkeeper[bot]medfreeman
authored andcommitted
Update eslint-plugin-jest to the latest version 🚀 (#92)
* chore(package): update eslint-plugin-jest to version 22.0.0 * chore(package): update lockfile yarn.lock * chore(test): comply with new `eslint-plugin-jest` rules
1 parent e2cc2eb commit 533b1cd

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

‎package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"eslint-config-prettier": "^3.0.1",
4545
"eslint-plugin-babel": "^5.0.0",
4646
"eslint-plugin-import": "^2.13.0",
47-
"eslint-plugin-jest": "^21.1.0",
47+
"eslint-plugin-jest": "^22.0.0",
4848
"git-exec-and-restage": "^1.0.1",
4949
"husky": "^1.1.3",
5050
"jest": "^23.5.0",

‎test/config.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ jest.mock("../src/utils/yaml");
33

44
import { get, commonBefore, commonAfter } from "./nuxt";
55

6-
describe("config", async () => {
6+
describe("config", () => {
77
beforeAll(async () => {
88
await commonBefore();
99
});

‎test/dev.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { get, commonBefore, commonAfter } from "./nuxt";
22

3-
describe("module dev mode", async () => {
3+
describe("module dev mode", () => {
44
beforeAll(async () => {
55
await commonBefore({ dev: true });
66
});

‎test/generate.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { get, generate, commonAfter } from "./nuxt";
22

3-
describe("module generate mode", async () => {
3+
describe("module generate mode", () => {
44
beforeAll(async () => {
55
await generate();
66
});

‎test/module.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { get, commonBefore, commonAfter } from "./nuxt";
22

3-
describe("module", async () => {
3+
describe("module", () => {
44
beforeAll(async () => {
55
await commonBefore();
66
});

‎test/nuxt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import serveStatic from "koa-static";
55

66
import baseConfig from "./fixture/nuxt.config";
77

8-
jasmine.DEFAULT_TIMEOUT_INTERVAL = 60000;
8+
jest.setTimeout(60000);
99
process.env.PORT = process.env.PORT || 5060;
1010
process.env.NODE_ENV = "production";
1111

‎yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3311,9 +3311,9 @@ eslint-plugin-import@^2.12.0, eslint-plugin-import@^2.13.0:
33113311
read-pkg-up "^2.0.0"
33123312
resolve "^1.6.0"
33133313

3314-
eslint-plugin-jest@^21.1.0:
3315-
version "21.2.0"
3316-
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-21.2.0.tgz#292044df9cf0866ad9c530e78e6528fae287b926"
3314+
eslint-plugin-jest@^22.0.0:
3315+
version "22.0.0"
3316+
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-22.0.0.tgz#87dc52bbdd47f37f23bf2b10bb8469458bb3ed68"
33173317

33183318
eslint-rule-composer@^0.1.1:
33193319
version "0.1.1"

0 commit comments

Comments
 (0)