Skip to content

Commit

Permalink
Merge pull request #99 from mechanik-daniel/test-pr-workflow-fail
Browse files Browse the repository at this point in the history
test: changing to docker compose V2
  • Loading branch information
mechanik-daniel authored Aug 17, 2024
2 parents 4af5b58 + 33a7ca4 commit bc4236f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Project name: FUME-COMMUNITY
*/
import axios from 'axios';
import * as compose from 'docker-compose';
import { v2 as compose } from 'docker-compose';
import path from 'path';

import { FumeServer } from '../src/server';
Expand Down Expand Up @@ -47,7 +47,7 @@ async function waitForFhirApi (maxAttempts, currentAttempt = 1) {
}

async function setup () {
console.log('starting FHIR server...');
console.log('Starting FHIR server (using docker compose V2)...');
await compose.upAll({
cwd: path.join(__dirname),
config: 'docker-compose.yml',
Expand Down
4 changes: 2 additions & 2 deletions tests/teardown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
* © Copyright Outburn Ltd. 2022-2024 All Rights Reserved
* Project name: FUME-COMMUNITY
*/
import * as compose from 'docker-compose';
import { v2 as compose } from 'docker-compose';
import path from 'path';

async function teardown () {
console.log('stopping FHIR server...');
console.log('stopping FHIR server (Using docker compose V2)...');
await compose.stop({
cwd: path.join(__dirname),
config: 'docker-compose.yml',
Expand Down

0 comments on commit bc4236f

Please sign in to comment.