@gmjs/jest-config
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

Jest Config

This package contains a function used to create a Jest config object.

Currently, this is a ts-jest configuration.

Installation

npm install --save-dev @gmjs/eslint-config

Usage

Create an Jest config file, for example jest.config.ts:

import type { JestConfigWithTsJest } from 'ts-jest';
import { getJestConfig } from '@gmjs/jest-config';

export default async (): Promise<JestConfigWithTsJest> => {
  const defaultConfig = await getJestConfig();
  return {
    ...defaultConfig,
  };
};

Package Sidebar

Install

npm i @gmjs/jest-config

Weekly Downloads

4

Version

0.0.7

License

MIT

Unpacked Size

4.91 kB

Total Files

6

Last publish

Collaborators

  • mrzli