Files
radicle-explorer/cypress.config.ts
T
Rūdolfs Ošiņš dab1770a13 Retry a test twice before giving up
We have some flaky tests in the test suite. This should take care of it.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-29 15:23:20 +02:00

22 lines
400 B
TypeScript

import { defineConfig } from "cypress";
export default defineConfig({
video: false,
defaultCommandTimeout: 10000,
retries: {
runMode: 2,
openMode: 0,
},
e2e: {
specPattern: "cypress/e2e/**/*spec.ts",
baseUrl: "http://localhost:3000",
},
component: {
devServer: {
framework: "svelte",
bundler: "vite",
},
specPattern: "src/**/*spec.ts",
},
});