Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/effect-deprecated/jest
Jest Test Runtime
https://github.com/effect-deprecated/jest
functional jest testing
Last synced: about 2 months ago
JSON representation
Jest Test Runtime
- Host: GitHub
- URL: https://github.com/effect-deprecated/jest
- Owner: Effect-Deprecated
- License: mit
- Created: 2021-01-20T12:22:08.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-09-28T05:07:11.000Z (over 1 year ago)
- Last Synced: 2024-11-01T07:33:17.518Z (2 months ago)
- Topics: functional, jest, testing
- Language: TypeScript
- Homepage: https://matechs.com
- Size: 2.95 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
## Welcome to Effect-TS - Jest [![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-ready--to--code-908a85?logo=gitpod)](https://gitpod.io/#https://github.com/Effect-TS/jest)
Please follow up to: [https://github.com/Effect-TS/jest/tree/master/packages/jest](https://github.com/Effect-TS/jest/tree/master/packages/jest)
## Install
We recommend the usage of `yarn` and if you have multiple packages the usage of `yarn workspaces` that handles by default hoisting of dependencies:
```sh
yarn add @effect-ts/system @effect-ts/tracing-utils @effect-ts/core @effect-ts/jest
```## Setup
To enable the custom matcher `equals` that uses `equals` from `@effect-ts/core/Structural` add `@effect-ts/jest/Extend` to your Jest `setupFilesAfterEnv` configuration.
```json
{
"setupFilesAfterEnv": ["@effect-ts/jest/Extend"]
}
```and import `import "@effect-ts/jest/Extend"` in your `global.d.ts` or in a valid `typeRoot`