diff --git a/integration-tests/__tests__/jest.config.js.test.js b/integration-tests/__tests__/jest.config.js.test.js index d61297291c94..7174bf6d79ac 100644 --- a/integration-tests/__tests__/jest.config.js.test.js +++ b/integration-tests/__tests__/jest.config.js.test.js @@ -35,8 +35,9 @@ test('works with jest.config.js', () => { test('traverses directory tree up until it finds jest.config', () => { writeFiles(DIR, { '__tests__/a-banana.js': ` + const slash = require('slash'); test('banana', () => expect(1).toBe(1)); - test('abc', () => console.log(process.cwd())); + test('abc', () => console.log(slash(process.cwd()))); `, 'jest.config.js': `module.exports = {testRegex: '.*-banana.js'};`, 'package.json': '{}',