mirror of
				https://github.com/aleleba/create-react-ssr.git
				synced 2025-11-03 23:46:50 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			26 lines
		
	
	
		
			587 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			587 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { defineConfig } from 'cypress';
 | 
						|
import webpackConfig from './webpack.cy.config';
 | 
						|
 | 
						|
export default defineConfig({
 | 
						|
	env: {},
 | 
						|
	e2e: {
 | 
						|
		/*setupNodeEvents(on, config) {
 | 
						|
			// implement node event listeners here
 | 
						|
		},*/
 | 
						|
		baseUrl: 'http://localhost:3000',
 | 
						|
		specPattern: 'cypress/e2e/**/*.{js,jsx,ts,tsx}',
 | 
						|
		experimentalRunAllSpecs: true,
 | 
						|
	},
 | 
						|
	component: {
 | 
						|
		specPattern: 'src/**/*.cy.{js,jsx,ts,tsx}',
 | 
						|
		devServer: {
 | 
						|
			framework: 'react',
 | 
						|
			bundler: 'webpack',
 | 
						|
			webpackConfig: webpackConfig,
 | 
						|
		},
 | 
						|
		viewportWidth: 1280,
 | 
						|
		viewportHeight: 720,
 | 
						|
		fileServerFolder: 'public',
 | 
						|
	}
 | 
						|
});
 |