mirror of
https://github.com/dotwee/obsidian-raindropio-plugin.git
synced 2026-07-22 06:50:29 +00:00
- 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.
8 lines
196 B
JavaScript
8 lines
196 B
JavaScript
module.exports = {
|
|
preset: "ts-jest",
|
|
testEnvironment: "jsdom",
|
|
moduleDirectories: ["node_modules", "src"],
|
|
moduleNameMapper: {
|
|
"^obsidian$": "<rootDir>/tests/__mocks__/obsidian.ts",
|
|
},
|
|
};
|