Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gregros/what-the-test


https://github.com/gregros/what-the-test

Last synced: 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# what-the-test

[![Node.js CI](https://github.com/GregRos/what-the-test/actions/workflows/push.yaml/badge.svg)](https://github.com/GregRos/what-the-test/actions/workflows/push.yaml)

[![npm](https://img.shields.io/npm/v/what-the-test)](https://www.npmjs.com/package/what-the-test)

Automatically detects the running unit test framework and provides a unified interface for declaring tests. It _just works_ in both ESM and CJS environments. Don't need to `await` anything or change the code in any way.

The following test frameworks are supported:

1. Jest
2. Ava
3. Jasmine
4. Mocha

Only `jest` is thoroughly tested right now.