13 lines
283 B
TypeScript
13 lines
283 B
TypeScript
import { shallow, EnzymeSelector } from 'enzyme';
|
|
|
|
export interface ShallowOptions {
|
|
shallow: typeof shallow;
|
|
otherContext: Object;
|
|
dive: boolean;
|
|
untilSelector: EnzymeSelector;
|
|
}
|
|
|
|
export default function createShallow(
|
|
options?: Partial<ShallowOptions>
|
|
): typeof shallow;
|