mirror of
https://github.com/zen-browser/rices.git
synced 2025-07-07 17:05:40 +02:00
first commit
This commit is contained in:
commit
232d8b37d6
36 changed files with 11302 additions and 0 deletions
22
jest.config.js
Normal file
22
jest.config.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
// jest.config.js
|
||||
|
||||
module.exports = {
|
||||
preset: 'ts-jest/presets/default-esm',
|
||||
testEnvironment: 'node',
|
||||
moduleFileExtensions: ['js', 'json', 'ts'],
|
||||
maxWorkers: 1,
|
||||
rootDir: '.',
|
||||
testRegex: '.e2e-spec.ts$',
|
||||
transform: {
|
||||
'^.+\\.(t|j)s$': ['ts-jest', { useESM: true }],
|
||||
},
|
||||
transformIgnorePatterns: [
|
||||
'/node_modules/(?!(\\@octokit)/)',
|
||||
],
|
||||
globals: {
|
||||
'ts-jest': {
|
||||
tsconfig: 'tsconfig.json',
|
||||
useESM: true,
|
||||
},
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue