Skip to main content
Home

Built and signed on GitHub Actions

🧪 The high-fidelity, Deno-native test runner utilities for modern VSCode extensions

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
4 days ago (1.0.1)
f
bundleAndRunDesktop

Convenience helper that first bundles the extension (web-target) with @vsce/bundler, transpiles the provided Deno test entry to Node-runnable JS via @deno/emit, and then calls runExtensionDesktop.

f
createMockExtensionContext

Factory that returns a fresh MockExtensionContext with independent storage each time it is called.

I
DesktopRunOptions

Options for runExtensionDesktop.

I
Memento

In-memory key/value store emulating VS Code’s Memento API.

I
MockExtensionContext

Subset of vscode.ExtensionContext sufficient for the extension activation lifecycle in tests.

c
MockWorkspaceFs

Simple in-memory file store emulating the handful of workspace.fs methods typically used by extensions.

f
runExtension

Load an extension bundle and invoke its activate() export in-process.

f
runExtensionDesktop

Spawn VS Code (stable by default) as a child process and execute the test bundle identified by opts.testEntry using VS Code’s built-in test driver.

I
RunExtensionOptions

Options for runExtension.

f
withTempWorkspace

Execute a callback with a fresh MockWorkspaceFs instance and dispose it afterwards.

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.