@volverjs/ui-vue
Version:
@volverjs/ui-vue is a lightweight Vue 3 component library to accompany @volverjs/style.
19 lines (18 loc) • 619 B
TypeScript
import { expect } from 'storybook/test';
declare global {
namespace jest {
interface Matchers<R> {
toBeChecked: (expected?: HTMLElement) => CustomMatcherResult;
}
interface Matchers<R> {
toBeClicked: (expected?: HTMLElement) => CustomMatcherResult;
}
interface Matchers<R> {
toHaveClass: (className: string | string[], expected?: HTMLElement) => CustomMatcherResult;
}
interface Matchers<R> {
toHaveImgChild: (imgTag: string, expected?: HTMLElement) => CustomMatcherResult;
}
}
}
export { expect };