mirror of
https://github.com/di-sukharev/opencommit.git
synced 2026-01-11 06:38:14 -05:00
12 lines
348 B
TypeScript
12 lines
348 B
TypeScript
import { jest } from '@jest/globals';
|
|
import 'cli-testing-library/extend-expect';
|
|
import { configure } from 'cli-testing-library';
|
|
|
|
// Make Jest available globally
|
|
global.jest = jest;
|
|
|
|
/**
|
|
* Adjusted the wait time for waitFor/findByText to 2000ms, because the default 1000ms makes the test results flaky
|
|
*/
|
|
configure({ asyncUtilTimeout: 2000 });
|