You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import fetch from 'node-fetch';
import { testHelpersGetDb } from './helpers/test-helpers-get-db';
import { syncIndexesToDb } from '@eddy/core/src/db/sync-indexes-to-db'; // <== Fails with this line of code
async function eddySleep(durationInMs: number): Promise<void> {
return new Promise((resolve) => {
setTimeout(() => resolve(), durationInMs);
});
}
let didIndexesSync: Promise<any>;
export default async function integrationGlobalSetup() {
try {
The text was updated successfully, but these errors were encountered:
Our team upgraded our mono-repo, and moved some dependencies to a package. Now our globalSetup file throws the following error:
Our integration-tests are written in a ESM module.
.swcrc
jest.config.integration.cjs
integration-global-setup.ts
The text was updated successfully, but these errors were encountered: