test-runners/obsidian-test-runner
End-to-end tests with obsidian-test: it bundles the plugin together with the test files, installs it into a temporary vault, launches the installed Obsidian and runs the tests inside it with node:test.
testEndToEndWithObsidianTest is the test:e2e script.
Interfaces
Section titled “Interfaces”| Interface | Description |
|---|---|
| TestEndToEndWithObsidianTestOptions | Options for testEndToEndWithObsidianTest. |
Functions
Section titled “Functions”| Function | Description |
|---|---|
| testEndToEndWithObsidianTest | Runs the end-to-end tests with obsidian-test. It is the body of a plugin’s test:e2e script. |