Skip to content

Refactor all tests to use ESM and vitest #5698

Closed
@danez

Description

@danez

We still have some tests that use ava and commonjs, we should refactor them to use vitest and ESM instead.

There is also a new fixture runner for tests which we can use, which can make the tests also faster. But can also be done afterwards.

### Tasks
- [ ] https://github.com/netlify/cli/pull/5892
- [ ] https://github.com/netlify/cli/pull/5919
- [ ] 200.command.dev.test.cjs
- [ ] 210.command.deploy.test.cjs
- [ ] 300.command.dev.test.cjs
- [ ] 500.command.dev.test.cjs
- [ ] 600.framework-detection.test.cjs
- [ ] 610.command.env.test.cjs
- [ ] 640.command.recipes.test.cjs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions