Files
cypress/npm/angular/cypress.config.ts
T
Jess b326693879 chore: cutting over system-tests and Cypress to use the new CT Object API (#21079)
* removing vite-dev-server local dependency from react-vite-ts-configured system test

* moving some CRA examples over to use the object api for setup

* fixing issue where function API was broken by object API for cy config + devservers

* adding deeply nested react import to project-fixtures for cra

* finishes cutting over cypress/react for sys tests

* chore: adding circle for this feature branch

* chore: moving over many vue + vite system tests to use object API instead of function API (#21080)

* doing webpack-dev-server cutovers

* removing more webpack-dev-server refrences

* fixing snapshots

* bumping yarn.lock

* wip

* fix test

* fix assertion

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>

* feat: removing all references for "fresh" dev servers (webpack-dev-server-fresh and vite-dev-server-fresh) (#21094)

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>

* chore: add dev-servers as deps to server to be included in the binary (#21091)

* fix bad merge

* fix next types and webpack-dev-server- resolve

Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>
Co-authored-by: Zachary Williams <ZachJW34@gmail.com>
2022-04-20 15:57:19 +10:00

22 lines
582 B
TypeScript

import { defineConfig } from 'cypress'
import * as webpackConfig from './cypress/plugins/webpack.config'
export default defineConfig({
'experimentalFetchPolyfill': true,
'fixturesFolder': false,
'includeShadowDom': true,
'fileServerFolder': 'src',
'projectId': 'nf7zag',
'component': {
setupNodeEvents (on, config) {
return require('./cypress/plugins')(on, config)
},
// @ts-ignore TODO: need to add the ability to define framework not
// in list w/o types failing...
devServer: {
bundler: 'webpack',
webpackConfig,
},
},
})