Skip to content

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.

Interface Description
TestEndToEndWithObsidianTestOptions Options for testEndToEndWithObsidianTest.
Function Description
testEndToEndWithObsidianTest Runs the end-to-end tests with obsidian-test. It is the body of a plugin’s test:e2e script.