mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-14 10:26:19 +01:00
86d6be3187
* Create the send-ui library package Create folder Create package.json Create jest config Create tsconfig and tsconfig.spec.json Create README Add empty barrel file for exporting future members * Register @bitwarden/send-ui with all clients and libs * Register with eslint * Fix linting issue with README --------- Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
14 lines
393 B
JavaScript
14 lines
393 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: "jsdom",
|
|
moduleNameMapper: pathsToModuleNameMapper(compilerOptions?.paths || {}, {
|
|
prefix: "<rootDir>/../../../",
|
|
}),
|
|
};
|