From 496b60db3a52e82c7f8a93cf8c70fafc2823f449 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Tue, 18 Dec 2018 09:09:51 +0100 Subject: [PATCH] gah, windows :( --- packages/jest-runtime/src/__tests__/script_transformer.test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/jest-runtime/src/__tests__/script_transformer.test.js b/packages/jest-runtime/src/__tests__/script_transformer.test.js index be74d19f9160..b99422f5510a 100644 --- a/packages/jest-runtime/src/__tests__/script_transformer.test.js +++ b/packages/jest-runtime/src/__tests__/script_transformer.test.js @@ -39,7 +39,8 @@ jest util.createDirectory = jest.fn(); return util; }) - .mock('vm'); + .mock('vm') + .mock('path', () => jest.requireActual('path').posix); jest.mock( 'test_preprocessor',