Expand description
Provides mock access models and in-memory workspaces for tests. Mock VFS support for Tinymist tests.
This module intentionally lives in tinymist-vfs so VFS tests can use it
without depending on higher-level crates. Enable the mock feature from
downstream test-support crates when this module is needed as a dependency.
Structs§
- Mock
Change - A workspace mutation and its runtime-facing changeset.
- Mock
Path Access - Path access over a shared in-memory workspace.
- Mock
Root Resolver - A root resolver for mock VFS tests.
- Mock
Workspace - A deterministic in-memory workspace for VFS and runtime tests.
- Mock
Workspace Builder - Builder for
MockWorkspace.
Functions§
- default_
mock_ root - Returns the default root used by mock workspaces.