Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch unit tests to use vitest #1445

Merged
merged 12 commits into from
Jun 17, 2024
4 changes: 1 addition & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,7 @@ module.exports = {
"import/no-deprecated": "error",
"import/no-extraneous-dependencies": [
"error",
{
devDependencies: false,
},
{ devDependencies: ["**/*.test.ts", "**/__tests__/**"] },
],
"import/no-internal-modules": "off",
"import/order": [
Expand Down
4 changes: 1 addition & 3 deletions FILES.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ The rx-player contains multiple type of tests:
- unit tests: test specific parts of the code. The main goal here is to check the
implementation of smaller units of code.

They are written alongside the code, in `__tests__` directories. All its configuration
can be found at the root of the project, in `jest.config.js` (we use the jest library
for unit tests).
They are written alongside the code, in `__tests__` directories.

- memory tests: test the memory usage of the player.

Expand Down
29 changes: 0 additions & 29 deletions jest.config.js

This file was deleted.

Loading
Loading