mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-05 14:30:32 -05:00
b81c5a0a8e
* 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>
13 lines
228 B
TypeScript
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',
|
|
},
|
|
})
|