Skip to content

OBSIDIAN_JEST_MODULE_NAME_MAPPER

Resolves obsidian onto the mocks, as the vitest configuration’s obsidian alias does.

Import:

import { OBSIDIAN_JEST_MODULE_NAME_MAPPER } from '@mnaoumov/obsidian-dev-toolkit/test-runners/jest-config';

Signature:

const OBSIDIAN_JEST_MODULE_NAME_MAPPER: Readonly<Record<string, string>>

Type: Readonly<Record<string, string>>