mirror of
https://github.com/CompassConnections/Compass.git
synced 2025-12-23 22:18:43 -05:00
* setting up test structure * . * added playwright config file, deleted original playwright folder and moved "some.test" file * continued test structure setup * Updating test folder structure * Added database seeding script and backend testing folder structure * removed the database test * Replaced db seeding script * Updated userInformation.ts to use values from choices.tsx * merge prep * removing extra unit test, moving api test to correct folder * Pushing to get help with sql Unit test * Updating get-profiles unit tests * Added more unit tests * . * Added more unit tests * Added getSupabaseToken unit test * . * excluding supabase token test so ci can pass * . * Seperated the seedDatabase func into its own file so it can be accessed seperatly * Fixed failing test * . * . * Fix tests * Fix lint * Clean * Fixed module paths in compute-score unit test * Updated root tsconfig to recognise backend/shared * Added create comment unit test * Added some unit tests * Working on createProfile return issue * . * Fixes --------- Co-authored-by: MartinBraquet <martin.braquet@gmail.com>
18 lines
504 B
JSON
18 lines
504 B
JSON
{
|
|
"extends": "./tsconfig.json",
|
|
"compilerOptions": {
|
|
// Use / as the root for tests so path-mapped imports from
|
|
// ../shared and ../../common are within the configured rootDir.
|
|
// This avoids TS6059 during ts-jest compilation.
|
|
"rootDir": "../..",
|
|
"baseUrl": ".",
|
|
"paths": {
|
|
"api/*": ["../api/src/*"],
|
|
"shared/*": ["src/*"],
|
|
"common/*": ["../../common/src/*"],
|
|
"email/*": ["../email/emails/*"]
|
|
}
|
|
},
|
|
"include": ["tests/**/*.ts", "src/**/*.ts"]
|
|
}
|