mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-22 18:21:35 +03:00
15 lines
362 B
JavaScript
15 lines
362 B
JavaScript
|
module.exports = {
|
||
|
setupFilesAfterEnv: ['<rootDir>/test/jest/jest.setup.js'],
|
||
|
testMatch: [
|
||
|
'<rootDir>/test/jest/__tests__/**/*.spec.js',
|
||
|
'<rootDir>/test/jest/__tests__/**/*.test.js'
|
||
|
],
|
||
|
moduleFileExtensions: ['ts', 'js', 'json'],
|
||
|
moduleNameMapper: {
|
||
|
'^~/(.*)$': '<rootDir>/$1'
|
||
|
},
|
||
|
transform: {
|
||
|
'\\.toml$': 'jest-transform-toml'
|
||
|
}
|
||
|
}
|