diff --git a/server/setup_tests.ts b/server/setup_tests.ts index 6464a80..857105d 100644 --- a/server/setup_tests.ts +++ b/server/setup_tests.ts @@ -1,6 +1,9 @@ require('ts-node/register') import db from './src/db/db' +import { setDefaultResultOrder } from 'dns' +setDefaultResultOrder("ipv4first"); + // Always open the db before starting tests. Not always necessary, but // potentially avoids mistakes global.beforeEach(async () => {