File tree Expand file tree Collapse file tree 2 files changed +27
-5
lines changed
Expand file tree Collapse file tree 2 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -9,3 +9,4 @@ src/index.ts
99src/oauth.ts
1010src/wrapper
1111tests/wrapper
12+ jest.config.mjs
Original file line number Diff line number Diff line change 22export default {
33 preset : "ts-jest" ,
44 testEnvironment : "node" ,
5- moduleNameMapper : {
6- "^(\.{1,2}/.*)\.js$" : "$1" ,
7- } ,
8- setupFilesAfterEnv : [ "<rootDir>/tests/mock-server/setup.ts" ] ,
9- } ;
5+ projects : [
6+ {
7+ displayName : "unit" ,
8+ preset : "ts-jest" ,
9+ testEnvironment : "node" ,
10+ moduleNameMapper : {
11+ "^(\.{1,2}/.*)\.js$" : "$1" ,
12+ } ,
13+ roots : [ "<rootDir>/tests" ] ,
14+ testPathIgnorePatterns : [ "/tests/wire/" ] ,
15+ setupFilesAfterEnv : [ ] ,
16+ } ,
17+ {
18+ displayName : "wire" ,
19+ preset : "ts-jest" ,
20+ testEnvironment : "node" ,
21+ moduleNameMapper : {
22+ "^(\.{1,2}/.*)\.js$" : "$1" ,
23+ } ,
24+ roots : [ "<rootDir>/tests/wire" ] ,
25+ setupFilesAfterEnv : [ "<rootDir>/tests/mock-server/setup.ts" ] ,
26+ } ,
27+ ] ,
28+ workerThreads : false ,
29+ passWithNoTests : true ,
30+ } ;
You can’t perform that action at this time.
0 commit comments