@monkvision/test-utils
v4.4.3
Published
MonkJs testing utilities
Downloads
1,492
Readme
@monkvision/test-utils
This package exports various test utilities used for automated testing in the MonkJs project. This package is for internal use only and is not aimed to be used outside Monk SDK development.
Installation
To install the package, you can run the following command :
yarn add -D @monkvision/test-utils
Usage
This package is developed to be used with TypeScript Jest. This means that this package directly exports TypeScript code : no compilation is required, and you can simply import the utils you need using the following syntax :
import { ... } from '@monkvision/test-utils';
Available Utils
This package exports the following test utilities :
- Useful
expect
test assertions (declared in thesrc/expects
directory). - Useful
dom
test utils (declared in thesrc/dom.ts
directory).