mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 05:30:01 +00:00
19 lines
471 B
JavaScript
19 lines
471 B
JavaScript
const { pathsToModuleNameMapper } = require("ts-jest");
|
|
|
|
const { compilerOptions } = require("../shared/tsconfig.spec");
|
|
|
|
const sharedConfig = require("../../libs/shared/jest.config.angular");
|
|
|
|
/** @type {import('jest').Config} */
|
|
module.exports = {
|
|
...sharedConfig,
|
|
displayName: "libs/string-utils function tests",
|
|
preset: "node",
|
|
moduleNameMapper: pathsToModuleNameMapper(
|
|
...(compilerOptions?.paths ?? {}),
|
|
{
|
|
prefix: "<rootDir>/",
|
|
},
|
|
),
|
|
};
|