diff options
author | David Yip <yipdw@member.fsf.org> | 2017-10-16 09:23:59 -0500 |
---|---|---|
committer | David Yip <yipdw@member.fsf.org> | 2017-10-16 09:23:59 -0500 |
commit | dbb1fce94dbd877d795898933ca344359f9b74c1 (patch) | |
tree | 06ab5f2ae7714b41aa9e5cc19ac8c234e0f394be /jest.config.js | |
parent | 6cd5b3bbe5a11fcf25bbefba2803f2ae840f39fc (diff) | |
parent | aec70b44fc551db6471c8bc5210688b154ac661f (diff) |
Merge remote-tracking branch 'upstream/master' into gs-master
Diffstat (limited to 'jest.config.js')
-rw-r--r-- | jest.config.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 000000000..dd9dadf87 --- /dev/null +++ b/jest.config.js @@ -0,0 +1,17 @@ +module.exports = { + projects: [ + '<rootDir>/app/javascript/mastodon', + ], + testPathIgnorePatterns: [ + '<rootDir>/node_modules/', + '<rootDir>/vendor/', + '<rootDir>/config/', + '<rootDir>/log/', + '<rootDir>/public/', + '<rootDir>/tmp/', + ], + setupFiles: [ + 'raf/polyfill', + ], + setupTestFrameworkScriptFile: '<rootDir>/app/javascript/mastodon/test_setup.js', +}; |