From 1f9519020296c8c24a73d3f99d3c1ad94a627f3b Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 1 Feb 2019 00:14:05 +0100 Subject: Refactor icons in web UI to use Icon component (#9951) * Refactor uses of icons to an Icon component in web UI * Refactor options passed to the Icon component * Make tests work with absolute component paths --- jest.config.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'jest.config.js') diff --git a/jest.config.js b/jest.config.js index 50bde57e6..85f8b1be9 100644 --- a/jest.config.js +++ b/jest.config.js @@ -22,4 +22,8 @@ module.exports = { '!app/javascript/mastodon/test_setup.js', ], coverageDirectory: '/coverage', + moduleDirectories: [ + '/node_modules', + '/app/javascript', + ], }; -- cgit