Skip to content

Commit fd721d3

Browse files
fix(posts): update "Cypress AI command"
Post: 2025-06-01-cypress-ai-command.md Fix code block
1 parent 82004b2 commit fd721d3

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

_posts/2025/2025-06-01-cypress-ai-command.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,13 @@ If you're running Chrome, disable `chromeWebSecurity` so the LLM requests aren't
5757

5858
```js
5959
// cypress.config.js
60-
import { defineConfig } from 'cypress';
61-
62-
export default defineConfig({
60+
module.exports = defineConfig({
6361
chromeWebSecurity: false,
62+
e2e: {
63+
setupNodeEvents(on, config) {
64+
// implement node event listeners here
65+
},
66+
},
6467
});
6568
```
6669

0 commit comments

Comments
 (0)