|
| 1 | +// Jest Snapshot v1, https://goo.gl/fbAQLP |
| 2 | + |
| 3 | +exports[`rules should export configs that refer to actual rules 1`] = ` |
| 4 | +Object { |
| 5 | + "all": Object { |
| 6 | + "env": Object { |
| 7 | + "jest/globals": true, |
| 8 | + }, |
| 9 | + "plugins": Array [ |
| 10 | + "jest", |
| 11 | + ], |
| 12 | + "rules": Object { |
| 13 | + "jest/consistent-test-it": "error", |
| 14 | + "jest/expect-expect": "error", |
| 15 | + "jest/lowercase-name": "error", |
| 16 | + "jest/no-alias-methods": "error", |
| 17 | + "jest/no-commented-out-tests": "error", |
| 18 | + "jest/no-disabled-tests": "error", |
| 19 | + "jest/no-duplicate-hooks": "error", |
| 20 | + "jest/no-expect-resolves": "error", |
| 21 | + "jest/no-export": "error", |
| 22 | + "jest/no-focused-tests": "error", |
| 23 | + "jest/no-hooks": "error", |
| 24 | + "jest/no-identical-title": "error", |
| 25 | + "jest/no-if": "error", |
| 26 | + "jest/no-jasmine-globals": "error", |
| 27 | + "jest/no-jest-import": "error", |
| 28 | + "jest/no-large-snapshots": "error", |
| 29 | + "jest/no-mocks-import": "error", |
| 30 | + "jest/no-standalone-expect": "error", |
| 31 | + "jest/no-test-callback": "error", |
| 32 | + "jest/no-test-prefixes": "error", |
| 33 | + "jest/no-test-return-statement": "error", |
| 34 | + "jest/no-truthy-falsy": "error", |
| 35 | + "jest/no-try-expect": "error", |
| 36 | + "jest/prefer-called-with": "error", |
| 37 | + "jest/prefer-expect-assertions": "error", |
| 38 | + "jest/prefer-hooks-on-top": "error", |
| 39 | + "jest/prefer-inline-snapshots": "error", |
| 40 | + "jest/prefer-spy-on": "error", |
| 41 | + "jest/prefer-strict-equal": "error", |
| 42 | + "jest/prefer-to-be-null": "error", |
| 43 | + "jest/prefer-to-be-undefined": "error", |
| 44 | + "jest/prefer-to-contain": "error", |
| 45 | + "jest/prefer-to-have-length": "error", |
| 46 | + "jest/prefer-todo": "error", |
| 47 | + "jest/require-to-throw-message": "error", |
| 48 | + "jest/require-top-level-describe": "error", |
| 49 | + "jest/valid-describe": "error", |
| 50 | + "jest/valid-expect": "error", |
| 51 | + "jest/valid-expect-in-promise": "error", |
| 52 | + "jest/valid-title": "error", |
| 53 | + }, |
| 54 | + }, |
| 55 | + "recommended": Object { |
| 56 | + "env": Object { |
| 57 | + "jest/globals": true, |
| 58 | + }, |
| 59 | + "plugins": Array [ |
| 60 | + "jest", |
| 61 | + ], |
| 62 | + "rules": Object { |
| 63 | + "jest/expect-expect": "warn", |
| 64 | + "jest/no-commented-out-tests": "warn", |
| 65 | + "jest/no-disabled-tests": "warn", |
| 66 | + "jest/no-export": "error", |
| 67 | + "jest/no-focused-tests": "error", |
| 68 | + "jest/no-identical-title": "error", |
| 69 | + "jest/no-jasmine-globals": "warn", |
| 70 | + "jest/no-jest-import": "error", |
| 71 | + "jest/no-mocks-import": "error", |
| 72 | + "jest/no-standalone-expect": "error", |
| 73 | + "jest/no-test-callback": "error", |
| 74 | + "jest/no-test-prefixes": "error", |
| 75 | + "jest/no-try-expect": "error", |
| 76 | + "jest/valid-describe": "error", |
| 77 | + "jest/valid-expect": "error", |
| 78 | + "jest/valid-expect-in-promise": "error", |
| 79 | + }, |
| 80 | + }, |
| 81 | + "style": Object { |
| 82 | + "plugins": Array [ |
| 83 | + "jest", |
| 84 | + ], |
| 85 | + "rules": Object { |
| 86 | + "jest/no-alias-methods": "warn", |
| 87 | + "jest/prefer-to-be-null": "error", |
| 88 | + "jest/prefer-to-be-undefined": "error", |
| 89 | + "jest/prefer-to-contain": "error", |
| 90 | + "jest/prefer-to-have-length": "error", |
| 91 | + }, |
| 92 | + }, |
| 93 | +} |
| 94 | +`; |
0 commit comments