context-provider
Framework-neutral context provider for integration test state.
Each framework adapter (vitest, jest) registers resolvers via setTransportOptionsResolver and setVaultPathResolver during module initialization. Core modules call the corresponding getters to retrieve state without depending on any specific test framework.
Functions
Section titled “Functions”| Function | Description |
|---|---|
| setTransportOptionsResolver | Registers a resolver function for transport options. Called by framework adapters at module load time to bridge their native injection mechanisms. |
| setVaultPathResolver | Registers a resolver function for the vault path. Called by framework adapters at module load time to bridge their native injection mechanisms. |
| Type | Description |
|---|---|
| TransportOptionsResolver | A function that resolves the current transport options. |
| VaultPathResolver | A function that resolves the current vault path. |