mirror of
				https://github.com/Mastermindzh/react-starter-kit.git
				synced 2025-11-04 10:48:54 +01:00 
			
		
		
		
	- Added an example with trucks and basic fetch in useEffect on page load - Added simply test to see whether any data is displayed (and shows the interceptor) Introduced "CypressStrictMode" which wraps React.StrictMode and checks whether Cypress is involved, if so disable StrictMode.
		
			
				
	
	
		
			21 lines
		
	
	
		
			669 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			669 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
// ***********************************************************
 | 
						|
// This example support/e2e.ts is processed and
 | 
						|
// loaded automatically before your test files.
 | 
						|
//
 | 
						|
// This is a great place to put global configuration and
 | 
						|
// behavior that modifies Cypress.
 | 
						|
//
 | 
						|
// You can change the location of this file or turn off
 | 
						|
// automatically serving support files with the
 | 
						|
// 'supportFile' configuration option.
 | 
						|
//
 | 
						|
// You can read more here:
 | 
						|
// https://on.cypress.io/configuration
 | 
						|
// ***********************************************************
 | 
						|
 | 
						|
// Import commands.js using ES2015 syntax:
 | 
						|
import "./commands";
 | 
						|
 | 
						|
// Alternatively you can use CommonJS syntax:
 | 
						|
// require('./commands')
 |