mirror of
https://github.com/bitwarden/browser
synced 2024-12-14 02:12:54 +01:00
d30701ada7
* Replace Permissions enum and helper methods with callbacks * Remove scim feature flag * Check if org has feature enabled as part of canManage checks * Pin jest-mock-extended at v2.0.6 to fix compilation error
16 lines
455 B
JavaScript
16 lines
455 B
JavaScript
const { pathsToModuleNameMapper } = require("ts-jest");
|
|
|
|
const { compilerOptions } = require("./tsconfig");
|
|
|
|
const sharedConfig = require("../../libs/shared/jest.config.base");
|
|
|
|
module.exports = {
|
|
...sharedConfig,
|
|
preset: "jest-preset-angular",
|
|
setupFilesAfterEnv: ["../../apps/web/test.setup.ts"],
|
|
moduleNameMapper: pathsToModuleNameMapper(compilerOptions?.paths || {}, {
|
|
prefix: "<rootDir>/",
|
|
}),
|
|
modulePathIgnorePatterns: ["jslib"],
|
|
};
|