From 92c8f6b8cff7b67b8652a94c7d9441c5c572a208 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sun, 27 May 2018 15:46:41 +0200 Subject: [PATCH] fix jest config test --- integration-tests/__tests__/jest.config.js.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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': '{}',