Skip to content

Commit

Permalink
chore: fix react extension loading
Browse files Browse the repository at this point in the history
  • Loading branch information
AtofStryker committed Sep 3, 2023
1 parent 5ad5ae0 commit 7f55a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/blogs__use-react-devtools/cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = defineConfig({
// only load React DevTools extension when opening Chrome in interactive mode
if (browser.family === 'chromium') {
// we could also restrict the extension to only load when browser.isHeaded is true
const extensionFolder = path.resolve(__dirname, '..', '..', '4.2.1_0')
const extensionFolder = path.resolve(__dirname, '4.2.1_0')

console.log('adding React DevTools extension from', extensionFolder)
launchOptions.args.push(extensionFolder)
Expand Down

0 comments on commit 7f55a65

Please sign in to comment.