diff options
author | David Yip <yipdw@member.fsf.org> | 2017-10-16 15:46:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-16 15:46:12 -0500 |
commit | 7c44ad63550ccf3cb7532440f79196b20dc24c5d (patch) | |
tree | fb5d8ed08dc130607fd7fd31c67b7cad4ebfd8f5 /jest.config.js | |
parent | 6cd5b3bbe5a11fcf25bbefba2803f2ae840f39fc (diff) | |
parent | 37ff061d9bf0a91da6580960be01e3c6bc5e5c4c (diff) |
Merge pull request #181 from glitch-soc/upstream-merge-again
Merge upstream, pull in fixes for tootsuite/mastodon#{5409,5417}
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', +}; |