|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
3 |
| -exports[`should export proper "angular" config 1`] = ` |
| 3 | +exports[`should export configs that refer to actual rules 1`] = ` |
4 | 4 | Object {
|
5 |
| - "plugins": Array [ |
6 |
| - "testing-library", |
7 |
| - ], |
8 |
| - "rules": Object { |
9 |
| - "testing-library/await-async-query": "error", |
10 |
| - "testing-library/await-async-utils": "error", |
11 |
| - "testing-library/no-await-sync-query": "error", |
12 |
| - "testing-library/no-container": "error", |
13 |
| - "testing-library/no-debug": "error", |
14 |
| - "testing-library/no-dom-import": Array [ |
15 |
| - "error", |
16 |
| - "angular", |
| 5 | + "angular": Object { |
| 6 | + "plugins": Array [ |
| 7 | + "testing-library", |
17 | 8 | ],
|
18 |
| - "testing-library/no-node-access": "error", |
19 |
| - "testing-library/no-promise-in-fire-event": "error", |
20 |
| - "testing-library/no-wait-for-empty-callback": "error", |
21 |
| - "testing-library/prefer-find-by": "error", |
22 |
| - "testing-library/prefer-screen-queries": "error", |
23 |
| - "testing-library/render-result-naming-convention": "error", |
| 9 | + "rules": Object { |
| 10 | + "testing-library/await-async-query": "error", |
| 11 | + "testing-library/await-async-utils": "error", |
| 12 | + "testing-library/no-await-sync-query": "error", |
| 13 | + "testing-library/no-container": "error", |
| 14 | + "testing-library/no-debug": "error", |
| 15 | + "testing-library/no-dom-import": Array [ |
| 16 | + "error", |
| 17 | + "angular", |
| 18 | + ], |
| 19 | + "testing-library/no-node-access": "error", |
| 20 | + "testing-library/no-promise-in-fire-event": "error", |
| 21 | + "testing-library/no-wait-for-empty-callback": "error", |
| 22 | + "testing-library/prefer-find-by": "error", |
| 23 | + "testing-library/prefer-screen-queries": "error", |
| 24 | + "testing-library/render-result-naming-convention": "error", |
| 25 | + }, |
24 | 26 | },
|
25 |
| -} |
26 |
| -`; |
27 |
| - |
28 |
| -exports[`should export proper "dom" config 1`] = ` |
29 |
| -Object { |
30 |
| - "plugins": Array [ |
31 |
| - "testing-library", |
32 |
| - ], |
33 |
| - "rules": Object { |
34 |
| - "testing-library/await-async-query": "error", |
35 |
| - "testing-library/await-async-utils": "error", |
36 |
| - "testing-library/no-await-sync-query": "error", |
37 |
| - "testing-library/no-promise-in-fire-event": "error", |
38 |
| - "testing-library/no-wait-for-empty-callback": "error", |
39 |
| - "testing-library/prefer-find-by": "error", |
40 |
| - "testing-library/prefer-screen-queries": "error", |
| 27 | + "dom": Object { |
| 28 | + "plugins": Array [ |
| 29 | + "testing-library", |
| 30 | + ], |
| 31 | + "rules": Object { |
| 32 | + "testing-library/await-async-query": "error", |
| 33 | + "testing-library/await-async-utils": "error", |
| 34 | + "testing-library/no-await-sync-query": "error", |
| 35 | + "testing-library/no-promise-in-fire-event": "error", |
| 36 | + "testing-library/no-wait-for-empty-callback": "error", |
| 37 | + "testing-library/prefer-find-by": "error", |
| 38 | + "testing-library/prefer-screen-queries": "error", |
| 39 | + }, |
41 | 40 | },
|
42 |
| -} |
43 |
| -`; |
44 |
| - |
45 |
| -exports[`should export proper "react" config 1`] = ` |
46 |
| -Object { |
47 |
| - "plugins": Array [ |
48 |
| - "testing-library", |
49 |
| - ], |
50 |
| - "rules": Object { |
51 |
| - "testing-library/await-async-query": "error", |
52 |
| - "testing-library/await-async-utils": "error", |
53 |
| - "testing-library/no-await-sync-query": "error", |
54 |
| - "testing-library/no-container": "error", |
55 |
| - "testing-library/no-debug": "error", |
56 |
| - "testing-library/no-dom-import": Array [ |
57 |
| - "error", |
58 |
| - "react", |
| 41 | + "react": Object { |
| 42 | + "plugins": Array [ |
| 43 | + "testing-library", |
59 | 44 | ],
|
60 |
| - "testing-library/no-node-access": "error", |
61 |
| - "testing-library/no-promise-in-fire-event": "error", |
62 |
| - "testing-library/no-wait-for-empty-callback": "error", |
63 |
| - "testing-library/prefer-find-by": "error", |
64 |
| - "testing-library/prefer-screen-queries": "error", |
65 |
| - "testing-library/render-result-naming-convention": "error", |
| 45 | + "rules": Object { |
| 46 | + "testing-library/await-async-query": "error", |
| 47 | + "testing-library/await-async-utils": "error", |
| 48 | + "testing-library/no-await-sync-query": "error", |
| 49 | + "testing-library/no-container": "error", |
| 50 | + "testing-library/no-debug": "error", |
| 51 | + "testing-library/no-dom-import": Array [ |
| 52 | + "error", |
| 53 | + "react", |
| 54 | + ], |
| 55 | + "testing-library/no-node-access": "error", |
| 56 | + "testing-library/no-promise-in-fire-event": "error", |
| 57 | + "testing-library/no-wait-for-empty-callback": "error", |
| 58 | + "testing-library/prefer-find-by": "error", |
| 59 | + "testing-library/prefer-screen-queries": "error", |
| 60 | + "testing-library/render-result-naming-convention": "error", |
| 61 | + }, |
66 | 62 | },
|
67 |
| -} |
68 |
| -`; |
69 |
| - |
70 |
| -exports[`should export proper "vue" config 1`] = ` |
71 |
| -Object { |
72 |
| - "plugins": Array [ |
73 |
| - "testing-library", |
74 |
| - ], |
75 |
| - "rules": Object { |
76 |
| - "testing-library/await-async-query": "error", |
77 |
| - "testing-library/await-async-utils": "error", |
78 |
| - "testing-library/await-fire-event": "error", |
79 |
| - "testing-library/no-await-sync-query": "error", |
80 |
| - "testing-library/no-container": "error", |
81 |
| - "testing-library/no-debug": "error", |
82 |
| - "testing-library/no-dom-import": Array [ |
83 |
| - "error", |
84 |
| - "vue", |
| 63 | + "vue": Object { |
| 64 | + "plugins": Array [ |
| 65 | + "testing-library", |
85 | 66 | ],
|
86 |
| - "testing-library/no-node-access": "error", |
87 |
| - "testing-library/no-promise-in-fire-event": "error", |
88 |
| - "testing-library/no-wait-for-empty-callback": "error", |
89 |
| - "testing-library/prefer-find-by": "error", |
90 |
| - "testing-library/prefer-screen-queries": "error", |
91 |
| - "testing-library/render-result-naming-convention": "error", |
| 67 | + "rules": Object { |
| 68 | + "testing-library/await-async-query": "error", |
| 69 | + "testing-library/await-async-utils": "error", |
| 70 | + "testing-library/await-fire-event": "error", |
| 71 | + "testing-library/no-await-sync-query": "error", |
| 72 | + "testing-library/no-container": "error", |
| 73 | + "testing-library/no-debug": "error", |
| 74 | + "testing-library/no-dom-import": Array [ |
| 75 | + "error", |
| 76 | + "vue", |
| 77 | + ], |
| 78 | + "testing-library/no-node-access": "error", |
| 79 | + "testing-library/no-promise-in-fire-event": "error", |
| 80 | + "testing-library/no-wait-for-empty-callback": "error", |
| 81 | + "testing-library/prefer-find-by": "error", |
| 82 | + "testing-library/prefer-screen-queries": "error", |
| 83 | + "testing-library/render-result-naming-convention": "error", |
| 84 | + }, |
92 | 85 | },
|
93 | 86 | }
|
94 | 87 | `;
|
0 commit comments