feat: add cypress
This commit is contained in:
18
cypress.config.ts
Normal file
18
cypress.config.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { defineConfig } from "cypress"
|
||||
import { config } from "dotenv"
|
||||
|
||||
config({ path: "./.env.local" })
|
||||
|
||||
export default defineConfig({
|
||||
e2e: {
|
||||
baseUrl: process.env.CYPRESS_BASE_URL,
|
||||
setupNodeEvents(on, config) {},
|
||||
},
|
||||
|
||||
component: {
|
||||
devServer: {
|
||||
bundler: "webpack",
|
||||
framework: "next",
|
||||
},
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user