mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 10:01:08 +08:00
feat(core): TypeScript 4 + cleanup (#8967)
This commit is contained in:
11
jest.preset.js
Normal file
11
jest.preset.js
Normal file
@ -0,0 +1,11 @@
|
||||
const nxPreset = require('@nrwl/jest/preset');
|
||||
module.exports = {
|
||||
...nxPreset,
|
||||
testMatch: ['**/+(*.)+(spec|test).+(ts|js)?(x)'],
|
||||
transform: {
|
||||
'^.+\\.(ts|js|html)$': 'ts-jest',
|
||||
},
|
||||
resolver: '@nrwl/jest/plugins/resolver',
|
||||
moduleFileExtensions: ['ts', 'js', 'html'],
|
||||
coverageReporters: ['html'],
|
||||
};
|
Reference in New Issue
Block a user