From e11e39c23a4bafb8bfb58017eb48695b723f8b52 Mon Sep 17 00:00:00 2001 From: William Mantly Date: Wed, 22 Jul 2026 22:17:23 -0400 Subject: [PATCH] fix: initialize ORM in tests --- nodejs/tests/setup.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nodejs/tests/setup.js b/nodejs/tests/setup.js index 94bc528..4164cca 100644 --- a/nodejs/tests/setup.js +++ b/nodejs/tests/setup.js @@ -3,6 +3,11 @@ const crypto = require('crypto'); const request = require('supertest'); const app = require('../app'); +const { initORM } = require('../models'); + +beforeAll(async () => { + await initORM(); +}); const TEST_CREDS = { uid: 'test', password: 'MyTestPassword!2' };