mirror of
https://github.com/doctrine/doctrine-website.git
synced 2026-03-23 22:32:11 +01:00
Configure jest for es6 js files
This commit is contained in:
10
jest.config.js
Normal file
10
jest.config.js
Normal file
@@ -0,0 +1,10 @@
|
||||
module.exports = {
|
||||
verbose: true,
|
||||
rootDir: './',
|
||||
testURL: 'http://localhost/',
|
||||
testMatch: ['**/jest/**/*.test.js'],
|
||||
"transform": {
|
||||
"^.+\\.js$": "babel-jest",
|
||||
},
|
||||
testEnvironment: 'jsdom'
|
||||
};
|
||||
Reference in New Issue
Block a user