Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
vinistevam committed Dec 2, 2024
1 parent 617d288 commit f6187f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e/api-mocking/mock-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const startMockServer = async (events, port) => {
console.log(`Response status: ${responseCode}`);
console.log('Response:', response);
if (requestBody) {
console.log(`POST request body ${requestBody}`);
console.log(`POST request body:`, requestBody);
}

if (method === 'GET') {
Expand Down
4 changes: 2 additions & 2 deletions e2e/fixtures/fixture-helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ export async function withFixtures(options, testSuite) {
testSpecificMock,
} = options;

const fixtureServer = new FixtureServer();

if (testSpecificMock) {
await startMockServer(testSpecificMock);
}

const fixtureServer = new FixtureServer();

let ganacheServer;
if (!disableGanache) {
ganacheServer = new Ganache();
Expand Down

0 comments on commit f6187f6

Please sign in to comment.