(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:
Anthony LC
2024-11-28 17:11:51 +01:00
committed by Anthony LC
parent ba1cfc3c27
commit bfecdbf83a
10 changed files with 440 additions and 17 deletions

View File

@@ -0,0 +1,11 @@
var config = {
rootDir: './__tests__',
testEnvironment: 'node',
transform: {
'^.+\\.(ts)$': 'ts-jest',
},
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/../src/$1',
},
};
export default config;