Skip to content
atarashi
Documentation menu

test/jest

Jest in ESM mode, with ts-jest for TypeScript projects and a health-check test.

Provides: test, test:jest

Requires: runtime:node

Conflicts with: test

Files it writes

  • jest.config.mjs
  • tests/health.test.ts|test.js

Dependencies

Development only:

  • jest@^30.2.0
  • ts-jest@^29.4.5 (when provides('language:typescript'))
  • supertest@^7.1.4 (when has('http/express'))
  • @types/supertest@^6.0.3 (when provides('language:typescript') && has('http/express'))

Use it

atarashi new my-app --add test/jest
atarashi add test/jest

Version 1.0.0. Format reference: Authoring blueprints.

Part of the atarashi documentation, written and maintained by Gautam Suthar.