@instructure/ui-test-utils
TypeScript icon, indicating that this package has built-in type declarations

10.20.0 • Public • Published

category: packages

ui-test-utils

npm MIT License Code of Conduct

A UI testing library made by Instructure Inc.

Installation

npm install @instructure/ui-test-utils

Usage

---
type: code
---
import { mount, expect, find } from '@instructure/ui-test-utils'

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 @instructure/ui-test-utils

Weekly Downloads

4,539

Version

10.20.0

License

MIT

Unpacked Size

391 kB

Total Files

77

Last publish

Collaborators

  • jakeoeding
  • instuici
  • eschiebel
  • maths22
  • jcrystal
  • itadmins
  • instructure-toolsmiths-service-user
  • aogata-inst
  • kyler-instructure
  • ericsaupe
  • xcudder
  • jdewar
  • jguardadom
  • jcflow
  • jozsefg-instructure
  • jacksonhowe
  • sarahgerard
  • ajmal-esa
  • robinkuss64
  • david.wenzlick.inst
  • razorsh4rk
  • ardena
  • bpjatacsuk
  • angela.gomba
  • joyenjoyer
  • cguanzon-inst
  • herrtopi
  • matyas.szabo
  • cjs118
  • camray
  • dmz985
  • aaronshaf
  • szilard.doro-inst
  • martongreczi-inst
  • instout
  • svcquizzesnpm
  • balazs.buri.instructure
  • mstarkman
  • daniel-torok
  • fmarcso
  • peipeizhou
  • is-adamszabo