Skip to content

Commit

Permalink
feat(cypress): remove component testing configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mijogu committed Apr 25, 2023
1 parent d4c925d commit 571297c
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions web/client/cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
import { defineConfig } from "cypress";
import { svelte } from "@sveltejs/vite-plugin-svelte";
// import { svelte } from "@sveltejs/vite-plugin-svelte";

export default defineConfig({
watchForFileChanges: false,
defaultCommandTimeout: 10000,
component: {
devServer: {
framework: "svelte",
bundler: "vite",
// Until full SvelteKit support lands in Cypress, we need to
// bypass loading SvelteKit during component testing per
// https://github.com/cypress-io/cypress/issues/26064
viteConfig: () => {
return {
plugins: [svelte()]
}
}
},
},
// component: {
// devServer: {
// framework: "svelte",
// bundler: "vite",
// // Until full SvelteKit support lands in Cypress, we need to
// // bypass loading SvelteKit during component testing per
// // https://github.com/cypress-io/cypress/issues/26064
// viteConfig: () => {
// return {
// plugins: [svelte()]
// }
// }
// },
// },

e2e: {
setupNodeEvents(on, config) {
Expand Down

0 comments on commit 571297c

Please sign in to comment.