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

https://github.com/stellaraf/jest


https://github.com/stellaraf/jest

Last synced: 10 months ago
JSON representation

Awesome Lists containing this project

README

          







Stellar Jest Configuration











# Usage

## Basic

```ts
// jest.config.ts or jest.config.js
export { base as default } from "@stellaraf/jest";
```

## Override Configuration

```ts
import { standardConfig } from "@stellaraf/jest";

export default standardConfig(
// Transform overrides passed to esbuild-jest
{ platform: "node" },
// Jest configuration overrides
{ displayName: "Too cool for school" }
);
```

## Monorepo

```ts
import { monorepoConfig } from "@stellaraf/jest";

// Overrides from standardConfig() are also supported
export default monorepoConfig("@scope/");
```