File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 },
1414 "scripts" : {
1515 "build" : " tsc" ,
16- "test" : " vitest run"
16+ "test" : " vitest run" ,
17+ "test:watch" : " vitest"
1718 },
1819 "dependencies" : {
1920 "@objectstack/runtime" : " workspace:*" ,
Original file line number Diff line number Diff line change 1313 },
1414 "scripts" : {
1515 "build" : " tsc" ,
16- "test" : " vitest run"
16+ "test" : " vitest run" ,
17+ "test:watch" : " vitest"
1718 },
1819 "dependencies" : {
1920 "@objectstack/runtime" : " workspace:*" ,
Original file line number Diff line number Diff line change 1313 },
1414 "scripts" : {
1515 "build" : " tsc" ,
16- "test" : " vitest run"
16+ "test" : " vitest run" ,
17+ "test:watch" : " vitest"
1718 },
1819 "dependencies" : {
1920 "@objectstack/runtime" : " workspace:*" ,
Original file line number Diff line number Diff line change @@ -11,9 +11,13 @@ module.exports = {
1111 testEnvironment : 'node' ,
1212 testMatch : [ '**/*.test.ts' ] ,
1313 moduleNameMapper : {
14+ '^@objectstack/runtime$' : '<rootDir>/../../../../spec/packages/runtime/src' ,
15+ '^@objectstack/core$' : '<rootDir>/../../../../spec/packages/core/src' ,
16+ '^@objectstack/objectql$' : '<rootDir>/../../../../spec/packages/objectql/src' ,
1417 '^@objectql/types$' : '<rootDir>/../../foundation/types/src' ,
1518 '^@objectql/core$' : '<rootDir>/../../foundation/core/src' ,
1619 '^@objectql/driver-sql$' : '<rootDir>/../../drivers/sql/src' ,
17- '^@objectql/driver-mongo$' : '<rootDir>/../../drivers/mongo/src'
20+ '^@objectql/driver-mongo$' : '<rootDir>/../../drivers/mongo/src' ,
21+ '^(.*)\\.js$' : '$1' ,
1822 }
1923} ;
You can’t perform that action at this time.
0 commit comments