Skip to content

Commit

Permalink
chore: move FHIR server docker compose file into tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lizozom committed Mar 20, 2024
1 parent 5cfa8b2 commit 6c7a099
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ node_modules
.env
.env.test
.eslintcache
hapi.postgress.data
**/hapi.postgress.data

File renamed without changes.
File renamed without changes.
6 changes: 5 additions & 1 deletion tests/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6c7a099

Please sign in to comment.