effect-playwright
    Preparing search index...

    Type Alias LayerTestMethods<T, W, R>

    LayerTestMethods: TestType<T, W> & {
        effect: EffectTester<T & W, R>;
        layer: <R2, E>(
            layer: Layer.Layer<R2, E, R>,
            options?: NestedLayerOptions,
        ) => LayerRegistration<T, W, R | R2>;
        scoped: EffectTester<T & W, R>;
    }

    Playwright test methods available inside a shared-layer registration block. The effect and scoped methods receive the layer's services, and layer adds another layer that depends on the current one.

    Type Parameters

    • T extends object
    • W extends object
    • R

    0.6.0