Skip to content

Commit 68d87af

Browse files
committed
fix: cypress run from before-push
1 parent 4ca243d commit 68d87af

File tree

2 files changed

+7
-85
lines changed

2 files changed

+7
-85
lines changed

cypress.config.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ module.exports = defineConfig({
1616
],
1717
'experimentalRunAllSpecs': true,
1818
setupNodeEvents(on, config) {
19-
on('task', {
20-
prepareArchives: () => {
21-
// Your task logic here (e.g., file operations, cleanup, etc.)
22-
console.log('Preparing archives...');
23-
return null; // or return a value if needed
24-
},
25-
});
2619
if (process.env.ELECTRON_EXTRA_LAUNCH_ARGS) {
20+
on('task', {
21+
prepareArchives: () => {
22+
// Your task logic here (e.g., file operations, cleanup, etc.)
23+
console.log('Preparing archives...');
24+
return null; // or return a value if needed
25+
},
26+
});
2727
installPlugin(on, config);
2828
}
2929
coverage(on, config);

package-lock.json

Lines changed: 0 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)