From 3cadac3195701ebef4a2aa2c1af4563dfafa7bea Mon Sep 17 00:00:00 2001 From: cexbrayat Date: Mon, 15 Apr 2019 11:32:14 +0200 Subject: [PATCH] fix: jest typeahead config Fixes #3814 --- packages/@vue/cli-plugin-unit-jest/generator/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@vue/cli-plugin-unit-jest/generator/index.js b/packages/@vue/cli-plugin-unit-jest/generator/index.js index 2615d6e1a9..0769e4105f 100644 --- a/packages/@vue/cli-plugin-unit-jest/generator/index.js +++ b/packages/@vue/cli-plugin-unit-jest/generator/index.js @@ -37,8 +37,8 @@ module.exports = (api, _, __, invoking) => { // https://github.com/facebook/jest/issues/6766 testURL: 'http://localhost/', watchPlugins: [ - require.resolve('jest-watch-typeahead/filename'), - require.resolve('jest-watch-typeahead/testname') + 'jest-watch-typeahead/filename', + 'jest-watch-typeahead/testname' ] } })