@iamkenos/iris
Version:
Test API endpoints with Axios & Jest using a collection of custom matchers and built-in utility functions.
10 lines (8 loc) • 424 B
JavaScript
const tsjest = require('ts-jest/jest-preset');
const preset = require('./build/config/jest/preset').default;
/**
* can't have a preset within a preset so build it like this instead
* @see [Jest Issue #8714](https://github.com/facebook/jest/issues/8714#issuecomment-513139087)
* @see [TS Jest Presets](https://kulshekhar.github.io/ts-jest/docs/getting-started/presets)
*/
module.exports = Object.assign(tsjest, preset);