mirror of
https://github.com/UniversityOfHelsinkiCS/oodikone.git
synced 2026-10-12 19:03:39 +03:00
[ApiTests] Restructure tests
This commit is contained in:
+2
-2
@@ -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
|
||||
+1
-1
@@ -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 () => {
|
||||
Reference in New Issue
Block a user