mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-11 10:10:25 +01:00
de92720d7e
* Create and register @bitwarden/generator-core - Create libs/tools/generator/core - Register new library within tsconfigs - Register new library within eslint.configs * Create and register @bitwarden/generator-extensions - Create libs/tools/generator/extensions - Register new library within tsconfigs - Register new library within eslint.configs * Create and register @bitwarden/generator-components - Create libs/tools/generator/components - Register new library within tsconfigs - Register new library within eslint.configs * Update libs/tools/generator/components/package.json Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com> * Update libs/tools/generator/extensions/package.json Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com> * Add empty barrel files for new libs * Fix extension of test.environment --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com> Co-authored-by: ✨ Audrey ✨ <ajensen@bitwarden.com>
14 lines
423 B
JavaScript
14 lines
423 B
JavaScript
const { pathsToModuleNameMapper } = require("ts-jest");
|
|
|
|
const { compilerOptions } = require("../../../shared/tsconfig.libs");
|
|
|
|
/** @type {import('jest').Config} */
|
|
module.exports = {
|
|
testMatch: ["**/+(*.)+(spec).+(ts)"],
|
|
preset: "ts-jest",
|
|
testEnvironment: "../../../shared/test.environment.ts",
|
|
moduleNameMapper: pathsToModuleNameMapper(compilerOptions?.paths || {}, {
|
|
prefix: "<rootDir>/../../../",
|
|
}),
|
|
};
|