diff --git a/.gitignore b/.gitignore index 6fd4774..b03677a 100644 --- a/.gitignore +++ b/.gitignore @@ -7,5 +7,5 @@ node_modules .env .env.test .eslintcache -hapi.postgress.data +**/hapi.postgress.data diff --git a/docker-compose.yml b/tests/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to tests/docker-compose.yml diff --git a/hapi.application.yaml b/tests/hapi.application.yaml similarity index 100% rename from hapi.application.yaml rename to tests/hapi.application.yaml diff --git a/tests/setup.ts b/tests/setup.ts index 90c28b5..85c7706 100644 --- a/tests/setup.ts +++ b/tests/setup.ts @@ -48,7 +48,11 @@ async function waitForFhirApi (maxAttempts, currentAttempt = 1) { async function setup () { console.log('starting FHIR server...'); - await compose.upAll({ cwd: path.join(__dirname), log: true }); + await compose.upAll({ + cwd: path.join(__dirname), + config: 'docker-compose.yml', + log: true + }); const result = await compose.ps({ cwd: path.join(__dirname) }); globalThis.services = result.data.services;