mirror of
https://github.com/aleleba/create-react-component-library.git
synced 2025-07-21 12:08:22 -06:00
PR-440978: Adding Cypress Component Testing.
This commit is contained in:
15
cypress.config.ts
Normal file
15
cypress.config.ts
Normal file
@ -0,0 +1,15 @@
|
||||
import { defineConfig } from "cypress";
|
||||
import webpackConfig from './webpack.cy.config';
|
||||
|
||||
export default defineConfig({
|
||||
component: {
|
||||
specPattern: 'src/**/*.cy.{js,jsx,ts,tsx}',
|
||||
devServer: {
|
||||
framework: "react",
|
||||
bundler: "webpack",
|
||||
webpackConfig: webpackConfig,
|
||||
},
|
||||
viewportWidth: 1280,
|
||||
viewportHeight: 720,
|
||||
},
|
||||
});
|
Reference in New Issue
Block a user