99.10.0 • Published 4 years ago

@temporg/utils-test v99.10.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

category: packages

utils-test

npm  build-status  MIT License  Code of Conduct

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()
})