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

8.55.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

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

10,828

Version

8.55.0

License

MIT

Unpacked Size

257 kB

Total Files

47

Last publish

Collaborators

  • bpjatacsuk
  • ajmal-esa
  • razorsh4rk
  • david.wenzlick.inst
  • robinkuss64
  • ardena
  • jcflow
  • jguardadom
  • jdewar
  • xcudder
  • ericsaupe
  • joyenjoyer
  • omarpr
  • cguanzon-inst
  • sarahgerard
  • jacksonhowe
  • jakeoeding
  • camray
  • cjs118
  • matyas.szabo
  • herrtopi
  • angela.gomba
  • kyler-instructure
  • instuici
  • eschiebel
  • maths22
  • jcrystal
  • skacsmark
  • itadmins
  • quizzesuici
  • instructure-toolsmiths-service-user
  • aogata-inst
  • instout