dotwee_obsidian-raindropio-.../jest.config.cjs
Lukas Wolfsteiner 877b75ddc5 feat: add testing framework and initial test cases
- Introduce Jest as the testing framework and configure it for the project.
- Add initial test cases for block and note parsing functionalities.
- Update ESLint configuration to include test files and adjust global settings.
- Modify package.json to include test scripts and dependencies for Jest.
- Enhance GitHub workflows to run tests during linting and release processes.
2026-05-02 01:33:06 +02:00

8 lines
196 B
JavaScript

module.exports = {
preset: "ts-jest",
testEnvironment: "jsdom",
moduleDirectories: ["node_modules", "src"],
moduleNameMapper: {
"^obsidian$": "<rootDir>/tests/__mocks__/obsidian.ts",
},
};