mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-30 14:35:50 +03:00
19 lines
504 B
JavaScript
19 lines
504 B
JavaScript
// Copyright 2019-2023 Tauri Programme within The Commons Conservancy
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
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'
|
|
}
|
|
}
|