mirror of
https://github.com/haiwen/seafile-js.git
synced 2025-06-03 01:00:19 +00:00
17 lines
370 B
JavaScript
17 lines
370 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
rootDir: path.resolve(__dirname, './'),
|
|
roots: ["<rootDir>/test/"],
|
|
testMatch: [ "<rootDir>/test/test.js"],
|
|
transform: {
|
|
"^.+\\.js$": "babel-jest"
|
|
},
|
|
transformIgnorePatterns: [
|
|
'[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$',
|
|
],
|
|
moduleNameMapper: {
|
|
'^axios$': require.resolve('axios'),
|
|
},
|
|
}
|