https://github.com/stellaraf/jest
https://github.com/stellaraf/jest
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stellaraf/jest
- Owner: stellaraf
- License: bsd-3-clause-clear
- Created: 2022-09-15T18:40:24.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-01T18:30:32.000Z (about 3 years ago)
- Last Synced: 2025-03-12T17:41:19.407Z (over 1 year ago)
- Language: TypeScript
- Size: 229 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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/");
```