Skip to content

Commit

Permalink
fixed a cypress bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Nerajno committed Mar 29, 2023
1 parent 12d1fb7 commit cd87826
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress.config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const {defineConfig} = require("cypress");
const webpackConfig = require('./config/webpack.config');
// const webpackConfig = require('./config/webpack.config');


module.exports = defineConfig({
Expand All @@ -9,14 +9,14 @@ module.exports = defineConfig({
setupNodeEvents(on, config) {
return require("./cypress/plugins/index.js")(on, config);
},
baseUrl: "./",
baseUrl: "http://localhost:2000",
},

component: {
devServer: {
framework: "create-react-app",
bundler: "webpack",
webpackConfig,
// webpackConfig,
},
},
});

0 comments on commit cd87826

Please sign in to comment.