Add eslint-plugin-jest (#11119)

* chore: add eslint-plugin-jest

* chore: update test sources

* chore: suppress preset-env debug log when linting
This commit is contained in:
Huáng Jùnliàng
2020-02-11 00:11:32 +09:00
committed by GitHub
parent a4d5c6253e
commit 865d5155c2
12 changed files with 89 additions and 20 deletions

View File

@@ -33,7 +33,7 @@ describe("'decoratorsBeforeExport' option", function() {
expect(makeParser("", { decoratorsBeforeExport: "before" })).toThrow();
});
test.skip("is required", function() {
test("is required", function() {
expect(makeParser("", { legacy: false })).toThrow(/decoratorsBeforeExport/);
});