From fb23a411d1c42c6264f8e827009c99808948903b Mon Sep 17 00:00:00 2001 From: Winnie Hellmann Date: Mon, 25 Feb 2019 21:54:46 +0100 Subject: Add fixtures path to Jest config --- jest.config.js | 1 + 1 file changed, 1 insertion(+) (limited to 'jest.config.js') diff --git a/jest.config.js b/jest.config.js index 5ee56b244c7..225f01de303 100644 --- a/jest.config.js +++ b/jest.config.js @@ -18,6 +18,7 @@ module.exports = { moduleNameMapper: { '^~(.*)$': '/app/assets/javascripts$1', '^ee(.*)$': '/ee/app/assets/javascripts$1', + '^fixtures(.*)$': '/spec/javascripts/fixtures$1', '^helpers(.*)$': '/spec/frontend/helpers$1', '^vendor(.*)$': '/vendor/assets/javascripts$1', '\\.(jpg|jpeg|png|svg)$': '/spec/frontend/__mocks__/file_mock.js', -- cgit v1.2.1