Skip to content

Commit

Permalink
maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldambra committed Dec 16, 2024
1 parent dfb9d2c commit f676240
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testcafe/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export const staticFilesMock = RequestMock()
// eslint-disable-next-line no-undef
const ENV_BROWSER = process.env.BROWSER
const fileToRead = ENV_BROWSER === 'browserstack:ie' ? '../dist/array.full.es5.js' : '../dist/array.full.js'
// eslint-disable-next-line no-console
console.log('browser env is:', ENV_BROWSER, 'so reading file:', fileToRead)
// eslint-disable-next-line no-undef
const arrayjs = fs.readFileSync(path.resolve(__dirname, fileToRead))
res.setBody(arrayjs)
Expand Down

0 comments on commit f676240

Please sign in to comment.