Files
cypress/packages/errors/vitest.config.ts
T
Bill Glesias b81c5a0a8e chore: convert tests in @packages/errors from mocha to vitest (#32572)
* start vitest convertion and convert errors spec to vitest

* chore: convert errTemplate to vitest

* convert stripIndent to vitest

* convert the visualsnapshoterrors spec to vitest

* chore: clean up errors package, update guide, and move snapshots

* move tests out of unit test directory as most tests are integration tests

* add to esm checklist and update workflow

* clean build and rebuild after test due to CI having built files

* Chore: fix bad test assertion in error spec

* Update guides/esm-migration.md

Co-authored-by: Bill Glesias <bglesias@gmail.com>

* chore: remove unused FIREFOX_CDP_FAILED_TO_CONNECT error as it is no longer used and likely missed with the CDP removal for Firefox

* chore: fix missed imports

* remove system test code to check for CDP error in firefox

---------

Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
2025-09-29 11:37:07 -04:00

13 lines
228 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
env: {
CYPRESS_INTERNAL_ENV: 'test',
},
include: ['test/**/*.spec.ts'],
globals: true,
environment: 'node',
},
})