mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-18 08:02:13 +03:00
39ce652329
* chore(monorepo): cleanup * fix(tauri-cli): build errors * fix(tauri:build.rs): dont' panic if env missing * fix(finalize): setup for crates * npm publish on release actual publish currently disabled * cargo publish on release actual publish currently disabled * update PR tests for new folder structure * doesn't like the period on job name? * fail on cargo warnings otherwise we would assume green arrow is all good * green on warnings for now
37 lines
865 B
JavaScript
37 lines
865 B
JavaScript
module.exports = {
|
|
globals: {
|
|
__DEV__: true
|
|
},
|
|
setupFilesAfterEnv: ['<rootDir>/test/jest/jest.setup.js'],
|
|
// noStackTrace: true,
|
|
// bail: true,
|
|
// cache: false,
|
|
// verbose: true,
|
|
// watch: true,
|
|
collectCoverage: true,
|
|
coverageDirectory: '<rootDir>/test/jest/coverage',
|
|
collectCoverageFrom: [
|
|
'<rootDir>/mode/**/*.js'
|
|
],
|
|
coverageReporters: ['json-summary', 'text', 'lcov'],
|
|
coverageThreshold: {
|
|
global: {
|
|
// branches: 50,
|
|
// functions: 50,
|
|
// lines: 50,
|
|
// statements: 50
|
|
}
|
|
},
|
|
testMatch: [
|
|
'<rootDir>/test/jest/__tests__/**/*.spec.js',
|
|
'<rootDir>/test/jest/__tests__/**/*.test.js'
|
|
],
|
|
moduleFileExtensions: ['js', 'json'],
|
|
moduleNameMapper: {
|
|
'^~/(.*)$': '<rootDir>/$1',
|
|
'^mode/(.*)$': '<rootDir>/mode/$1',
|
|
'^test/(.*)$': '<rootDir>/test/$1'
|
|
},
|
|
transform: {}
|
|
}
|