ConformanceContext
Defined in: src/storage/testing/conformance.ts:92
What a ConformanceCase receives.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
expect |
(actual) => ConformanceMatchers |
The injected expect. |
src/storage/testing/conformance.ts:98 |
options |
ConformanceOptions |
The options the suite runs with. | src/storage/testing/conformance.ts:102 |
storage |
KvStorage |
A fresh storage from the factory. | src/storage/testing/conformance.ts:94 |
Methods
Section titled “Methods”key(...segments): string;Defined in: src/storage/testing/conformance.ts:96
Build a key under the suite’s root: key("a", "b") → "<root>/a/b".
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…segments |
string[] |
Returns
Section titled “Returns”string
settle()
Section titled “settle()”settle(ms): Promise<void>;Defined in: src/storage/testing/conformance.ts:100
Wait for ms (watch notifications, eventual consistency).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
ms |
number |
Returns
Section titled “Returns”Promise<void>