Files
cypress/system-tests/test/vite_dev_server_fresh_spec.ts
T
Lachlan Miller 6adba462ea feat: update to Vite 3 (#22915)
* chore: do not rely on transitive dep. from npm/react

* chore: bump to vite 3.0.2

* revert

* target es6

* remove unused code

* update styles

* remove ts-ignore

* bump to vite 3.0.3
2022-07-28 10:00:31 +10:00

26 lines
716 B
TypeScript

import systemTests from '../lib/system-tests'
import type { fixtureDirs } from '@tooling/system-tests'
type ProjectDirs = typeof fixtureDirs
const VITE_REACT: ProjectDirs[number][] = ['vite2.8.6-react', 'vite2.9.1-react', 'vite3.0.2-react']
describe('@cypress/vite-dev-server', function () {
systemTests.setup()
describe('react', () => {
for (const project of VITE_REACT) {
it(`executes all of the tests for ${project}`, function () {
return systemTests.exec(this, {
project,
configFile: 'cypress-vite.config.ts',
testingType: 'component',
browser: 'chrome',
snapshot: true,
expectedExitCode: 3,
})
})
}
})
})