✅(y-provider) add tests for y-provider server
We add jest tests for the y-provider server. The CI will be able to run the tests.
This commit is contained in:
11
src/frontend/servers/y-provider/jest.config.js
Normal file
11
src/frontend/servers/y-provider/jest.config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
var config = {
|
||||
rootDir: './__tests__',
|
||||
testEnvironment: 'node',
|
||||
transform: {
|
||||
'^.+\\.(ts)$': 'ts-jest',
|
||||
},
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/../src/$1',
|
||||
},
|
||||
};
|
||||
export default config;
|
||||
Reference in New Issue
Block a user