You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/testkit.md
+22-21Lines changed: 22 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -357,39 +357,40 @@ The `asyncLayer` creates a provider that starts in `NotReady` state. Call `setSt
357
357
358
358
## Test Isolation
359
359
360
-
### Domain-Based Isolation
360
+
### Automatic Isolation
361
361
362
-
Use `FeatureFlags.fromProviderWithDomain` for test isolation when tests run in parallel:
362
+
`TestFeatureProvider.layer`, `asyncLayer`, and `layerFrom` each create an **isolated `OpenFeatureAPI` instance** with its own provider repository and event support. This means tests using these layers can run in parallel without cross-test contamination — no extra configuration needed.
0 commit comments