Testing: Use React Testing Library (#27072)
* Add RTL * Add setupTests.ts * Refactor DashboardSearch tests
Showing
... | ... | @@ -75,6 +75,8 @@ |
"@grafana/eslint-config": "2.0.0", | ||
"@microsoft/api-extractor": "7.8.2-pr1796.0", | ||
"@rtsao/plugin-proposal-class-properties": "7.0.1-patch.1", | ||
"@testing-library/jest-dom": "^5.11.3", | ||
"@testing-library/react": "^10.4.8", | ||
"@testing-library/react-hooks": "^3.2.1", | ||
"@types/angular": "1.6.56", | ||
"@types/angular-route": "1.7.0", | ||
... | ... | @@ -112,6 +114,7 @@ |
"@types/slate": "0.47.1", | ||
"@types/slate-plain-serializer": "0.6.1", | ||
"@types/slate-react": "0.22.5", | ||
"@types/testing-library__jest-dom": "^5.9.2", | ||
"@types/testing-library__react-hooks": "^3.2.0", | ||
"@types/tinycolor2": "1.4.2", | ||
"@typescript-eslint/eslint-plugin": "3.6.0", | ||
... | ... |
public/test/setupTests.ts
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment