Skip to content

Commit 441d5a3

Browse files
test: refactor @testing-library/react tests (#585)
1 parent c172b1b commit 441d5a3

5 files changed

+5
-0
lines changed

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

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

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

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

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

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

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

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

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

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const SUPPORTED_TESTING_FRAMEWORKS = [
1818
'@testing-library/foo',
1919
'@testing-library/dom',
2020
'@testing-library/angular',
21+
'@testing-library/react',
2122
'@marko/testing-library',
2223
];
2324

0 commit comments

Comments
 (0)