Skip to content

Commit 86a1a49

Browse files
test: refactor @testing-library/vue tests (#587)
1 parent 441d5a3 commit 86a1a49

16 files changed

+16
-0
lines changed

tests/lib/rules/await-async-query.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
1515
'@testing-library/dom',
1616
'@testing-library/angular',
1717
'@testing-library/react',
18+
'@testing-library/vue',
1819
'@marko/testing-library',
1920
];
2021

tests/lib/rules/await-async-utils.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
88
'@testing-library/dom',
99
'@testing-library/angular',
1010
'@testing-library/react',
11+
'@testing-library/vue',
1112
'@marko/testing-library',
1213
];
1314

tests/lib/rules/no-await-sync-query.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
1111
'@testing-library/dom',
1212
'@testing-library/angular',
1313
'@testing-library/react',
14+
'@testing-library/vue',
1415
'@marko/testing-library',
1516
];
1617

tests/lib/rules/no-container.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const ruleTester = createRuleTester();
66
const SUPPORTED_TESTING_FRAMEWORKS = [
77
'@testing-library/angular',
88
'@testing-library/react',
9+
'@testing-library/vue',
910
'@marko/testing-library',
1011
];
1112

tests/lib/rules/no-debugging-utils.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const ruleTester = createRuleTester();
66
const SUPPORTED_TESTING_FRAMEWORKS = [
77
'@testing-library/angular',
88
'@testing-library/react',
9+
'@testing-library/vue',
910
'@marko/testing-library',
1011
];
1112

tests/lib/rules/no-node-access.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const ruleTester = createRuleTester();
66
const SUPPORTED_TESTING_FRAMEWORKS = [
77
'@testing-library/angular',
88
'@testing-library/react',
9+
'@testing-library/vue',
910
'@marko/testing-library',
1011
];
1112

tests/lib/rules/no-promise-in-fire-event.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
88
'@testing-library/dom',
99
'@testing-library/angular',
1010
'@testing-library/react',
11+
'@testing-library/vue',
1112
'@marko/testing-library',
1213
];
1314

tests/lib/rules/no-render-in-setup.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
88
'@testing-library/foo',
99
'@testing-library/angular',
1010
'@testing-library/react',
11+
'@testing-library/vue',
1112
'@marko/testing-library',
1213
];
1314

tests/lib/rules/no-wait-for-empty-callback.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
88
'@testing-library/dom',
99
'@testing-library/angular',
1010
'@testing-library/react',
11+
'@testing-library/vue',
1112
'@marko/testing-library',
1213
];
1314

tests/lib/rules/no-wait-for-multiple-assertions.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
99
'@testing-library/dom',
1010
'@testing-library/angular',
1111
'@testing-library/react',
12+
'@testing-library/vue',
1213
'@marko/testing-library',
1314
];
1415

tests/lib/rules/no-wait-for-side-effects.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
77
'@testing-library/dom',
88
'@testing-library/angular',
99
'@testing-library/react',
10+
'@testing-library/vue',
1011
'@marko/testing-library',
1112
];
1213

tests/lib/rules/no-wait-for-snapshot.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
88
'@testing-library/dom',
99
'@testing-library/angular',
1010
'@testing-library/react',
11+
'@testing-library/vue',
1112
'@marko/testing-library',
1213
];
1314

tests/lib/rules/prefer-find-by.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
1919
'@testing-library/dom',
2020
'@testing-library/angular',
2121
'@testing-library/react',
22+
'@testing-library/vue',
2223
'@marko/testing-library',
2324
];
2425

tests/lib/rules/prefer-query-by-disappearance.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
99
'@testing-library/dom',
1010
'@testing-library/angular',
1111
'@testing-library/react',
12+
'@testing-library/vue',
1213
'@marko/testing-library',
1314
];
1415

tests/lib/rules/prefer-screen-queries.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
1212
'@testing-library/dom',
1313
'@testing-library/angular',
1414
'@testing-library/react',
15+
'@testing-library/vue',
1516
'@marko/testing-library',
1617
];
1718

tests/lib/rules/render-result-naming-convention.test.ts

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const ruleTester = createRuleTester();
88
const SUPPORTED_TESTING_FRAMEWORKS = [
99
'@testing-library/angular',
1010
'@testing-library/react',
11+
'@testing-library/vue',
1112
'@marko/testing-library',
1213
];
1314

0 commit comments

Comments
 (0)