[ApiTests] Restructure tests

This commit is contained in:
Aaro Koivukangas
2026-04-17 13:25:14 +03:00
parent 2a979af974
commit c5649e9d39
2 changed files with 3 additions and 3 deletions
@@ -5,8 +5,8 @@ import { Sequelize } from 'sequelize'
import request, { Response } from 'supertest'
import { PopulationstatisticsResBody } from '@oodikone/shared/routes/populations'
import { dbConnections } from '../src/database/connection'
import { initTests } from './utils'
import { dbConnections } from '../../src/database/connection'
import { initTests } from '../utils'
let app: Express
let connection: Sequelize
@@ -3,7 +3,7 @@ import assert from 'node:assert/strict'
import { describe, it, before } from 'node:test'
import request from 'supertest'
import { initTests } from './utils'
import { initTests } from '../utils'
let app: Express
before(async () => {