@temporg/utils-test

99.10.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @temporg/utils-test

Weekly Downloads

2

Version

99.10.0

License

MIT

Unpacked Size

73 kB

Total Files

21

Last publish

Collaborators

  • npm