@temporg/utils-test
v99.10.0
Published
A UI testing library made by Rock Content
Downloads
36
Readme
category: packages
utils-test
A UI testing library made by Rock Content
Installation
yarn add @temporg/utils-test
Usage
import { mount, expect, find } from '@temporg/utils-test'
import MyComponent from '../'
it('should render children', async () => {
await mount(<MyComponent>Hello World</MyComponent>)
expect(await find(':contains(Hello World)')).to.exist()
})