about summary refs log tree commit diff
path: root/jest.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
index dc61b9a9d..ae6c96f33 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -23,4 +23,8 @@ module.exports = {
     '!app/javascript/mastodon/test_setup.js',
   ],
   coverageDirectory: '<rootDir>/coverage',
+  moduleDirectories: [
+    '<rootDir>/node_modules',
+    '<rootDir>/app/javascript',
+  ],
 };