cypress.config.ts 314 B

123456789101112131415
  1. import {defineConfig} from 'cypress';
  2. import ip from 'ip';
  3. const address = ip.address();
  4. export default defineConfig({
  5. e2e: {
  6. baseUrl: `http://${address}:3001`,
  7. viewportHeight: 980,
  8. viewportWidth: 1600,
  9. setupNodeEvents(on, config) {
  10. // implement node event listeners here
  11. },
  12. },
  13. });