engine
engine copied to clipboard
test: replacce floss with vitest
Please check if the PR fulfills these requirements
- [x] The commit message follows our guidelines
- [ ] Tests for the changes have been added (for bug fixes / features)
- [ ] Docs have been added / updated (for bug fixes / features)
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
What is the current behavior? (You can also link to an open issue here)
What is the new behavior (if this is a feature change)?
Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
Other information:
Summary by CodeRabbit
-
New Features
- Transitioned to the Vitest testing framework for improved testing capabilities across multiple test files.
- Introduced a new configuration file for Vitest to enhance project-specific testing setups.
- Added a new coverage script for streamlined testing and coverage reporting.
- Enhanced CI workflow with Cypress test integration and improved artifact handling for test failures.
-
Bug Fixes
- Corrected indentation in CI workflow configuration for better clarity.
-
Chores
- Removed unused dependencies and streamlined the testing framework setup by eliminating unnecessary imports.
- Updated test scripts in
package.json
to simplify coverage reporting and improve consistency in testing practices. - Transitioned file handling in tests to asynchronous operations for improved performance.