Installation
npm install --save @types/commercetools__enzyme-extensions
Summary
This package contains type definitions for @commercetools/enzyme-extensions (https://github.com/commercetools/enzyme-extensions).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/commercetools__enzyme-extensions.
index.d.ts
import * as enzyme from "enzyme";
declare module "enzyme" {
interface UntilOptions {
maxDepth: number;
}
interface ShallowWrapper<P = {}> {
drill(expander: (props: any) => ShallowWrapper): ShallowWrapper<P>;
until(selector: EnzymeSelector, options?: UntilOptions): ShallowWrapper<P>;
}
}
declare function monkeyPatchShallowWrapper(s: typeof enzyme.ShallowWrapper): void;
export = monkeyPatchShallowWrapper;
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/enzyme
Credits
These definitions were written by Christian Rackerseder.