* purely test suite on steroids * verify stuff * more fun verifies * ok ok ok I'm done * extend timeout and consolidate to constant for easier usage across tests * PR feedback :) Remove warnings by adding transform regex to `ts-jest` and `testMatch`. * cleanup * cleanup * PR feedback & converting `export function` to `export const` in `util.ts`
17 lines
347 B
JavaScript
17 lines
347 B
JavaScript
/** @type {import('ts-jest').JestConfigWithTsJest} */
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
transform: {
|
|
'^.+\\.ts?$': [
|
|
'ts-jest',
|
|
{
|
|
tsconfig: 'tsconfig.jest.json',
|
|
},
|
|
],
|
|
},
|
|
testMatch: ['<rootDir>/test/**/*.spec.ts'],
|
|
globalSetup: './jest.setup.ts',
|
|
testTimeout: 10000,
|
|
};
|