mirror of
https://github.com/bitwarden/browser
synced 2026-01-31 08:43:54 +00:00
* create nav link for auto confirm in settings page * wip * WIP * create auto confirm library * migrate auto confirm files to lib * update imports * fix tests * fix nudge * cleanup, add documentation * clean up * cleanup * fix import * fix more imports * add tests * design changes * fix tests * fix tw issue * fix typo, add tests * CR feedback * more clean up, fix race condition * CR feedback, cache policies, refactor tests * run prettier with updated version * clean up duplicate logic * clean up * fix test * add missing prop for test mock * clean up
19 lines
558 B
JavaScript
19 lines
558 B
JavaScript
const { pathsToModuleNameMapper } = require("ts-jest");
|
|
|
|
const { compilerOptions } = require("../../tsconfig.base");
|
|
|
|
const sharedConfig = require("../../libs/shared/jest.config.angular");
|
|
|
|
module.exports = {
|
|
...sharedConfig,
|
|
displayName: "auto-confirm",
|
|
setupFilesAfterEnv: ["<rootDir>/test.setup.ts"],
|
|
coverageDirectory: "../../coverage/libs/auto-confirm",
|
|
moduleNameMapper: pathsToModuleNameMapper(
|
|
{ "@bitwarden/common/spec": ["libs/common/spec"], ...(compilerOptions?.paths ?? {}) },
|
|
{
|
|
prefix: "<rootDir>/../../",
|
|
},
|
|
),
|
|
};
|