14 lines
316 B
TypeScript
14 lines
316 B
TypeScript
import { setup } from './helpers/data_setup';
|
|
import random from './helpers/random';
|
|
|
|
// declare global {
|
|
// // eslint-disable-next-line no-var
|
|
// var random: string;
|
|
// }
|
|
|
|
module.exports = async () => {
|
|
await require('detox/runners/jest/index').globalSetup();
|
|
globalThis.random = random(20);
|
|
await setup();
|
|
};
|