1.3.4 • Published 24 days ago
@harmonix-hub/testing v1.3.4
@harmonix-hub/testing
This package provides Jest configurations for projects developed with Harmonix hub.
Installation
You can install this Jest configuration package using npm.
npm install @harmonix-hub/testing --save-dev
Usage
To use the Jest configurations provided by this package, create a Jest configuration file in your project directory (e.g., jest.config.js
), and extend the configuration from @harmonix-hub/testing
.
Example of jest.config.js
configuration file:
import { Jest } from "@harmonix-hub/testing";
module.exports = {
...Jest.jestConfig(),
};
By extending @harmonix-hub/testing
, you inherit the recommended Jest configurations for Harmonix hub projects. You can also add or override configurations in your project-specific Jest configuration file.