Skip to content

stellaraf/jest

Repository files navigation



Stellar Jest Configuration




Usage

Basic

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

Override Configuration

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

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

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