@testing-library/react-native
Version:
Simple and complete React Native testing utilities that encourage good testing practices.
10 lines (9 loc) • 330 B
TypeScript
import type { TestInstance } from 'test-renderer';
export declare function toBeDisabled(this: jest.MatcherContext, instance: TestInstance): {
pass: boolean;
message: () => string;
};
export declare function toBeEnabled(this: jest.MatcherContext, instance: TestInstance): {
pass: boolean;
message: () => string;
};