tauri/tooling/cli/node/jest.config.js
Lucas Fernandes Nogueira 4334865266
refactor(cli): rename tooling/cli.rs folder to tooling/cli (#3388)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2022-02-10 17:23:10 -03:00

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'
}
}