From 90181eee7de394b8cf95da7929421334f6830027 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sun, 27 May 2018 14:47:52 +0200 Subject: [PATCH] use slash on test filename --- packages/jest-cli/src/reporters/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jest-cli/src/reporters/utils.js b/packages/jest-cli/src/reporters/utils.js index 67b2d776fdab..30bbf4b07c51 100644 --- a/packages/jest-cli/src/reporters/utils.js +++ b/packages/jest-cli/src/reporters/utils.js @@ -76,7 +76,7 @@ export const formatTestPath = ( testPath: Path, ) => { const {dirname, basename} = relativePath(config, testPath); - return chalk.dim(dirname + path.sep) + chalk.bold(basename); + return slash(chalk.dim(dirname + path.sep) + chalk.bold(basename)); }; export const relativePath = (