@gmjs/jest-config
v0.0.7
Published
Jest configuration.
Downloads
1
Maintainers
Readme
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-configUsage
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,
};
};