Skip to content

Commit 3a7bf1c

Browse files
committed
test(e2e): add logger task for debugging
1 parent 3b244b7 commit 3a7bf1c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cypress.config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,13 @@ module.exports = defineConfig({
44
e2e: {
55
baseUrl: process.env.CYPRESS_BASE_URL || 'http://localhost:3000',
66
chromeWebSecurity: false, // Required for OIDC testing
7+
setupNodeEvents(on, config) {
8+
on("task", {
9+
log(message) {
10+
console.log(message);
11+
return null;
12+
}
13+
})
14+
}
715
},
816
});

0 commit comments

Comments
 (0)