Fix jest refs

This commit is contained in:
Adria Navarro 2023-05-19 10:36:23 +02:00
parent 5ba9c75e70
commit e47aef13d5
2 changed files with 2 additions and 5 deletions

View File

@ -16,6 +16,7 @@ const config: Config.InitialOptions = {
"@budibase/backend-core/(.*)": "<rootDir>/../backend-core/$1", "@budibase/backend-core/(.*)": "<rootDir>/../backend-core/$1",
"@budibase/backend-core": "<rootDir>/../backend-core/src", "@budibase/backend-core": "<rootDir>/../backend-core/src",
"@budibase/types": "<rootDir>/../types/src", "@budibase/types": "<rootDir>/../types/src",
"@budibase/shared-core": ["<rootDir>/../shared-core/src"],
}, },
} }

View File

@ -16,11 +16,7 @@
"require": ["tsconfig-paths/register"], "require": ["tsconfig-paths/register"],
"swc": true "swc": true
}, },
"references": [ "references": [{ "path": "../types" }, { "path": "../backend-core" }],
{ "path": "../types" },
{ "path": "../backend-core" },
{ "path": "../../../budibase-pro/packages/pro" }
],
"include": ["src/**/*"], "include": ["src/**/*"],
"exclude": ["dist"] "exclude": ["dist"]
} }