Skip to content

Commit

Permalink
test(core): better logging should the test fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-molak committed Jan 23, 2021
1 parent f208c76 commit c901e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/spec/stage/StageManager.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ describe('StageManager', () => {
const lines = error.message.split('\n');

expect(lines[0]).to.equal('2 async operations have failed to complete within a 250ms cue timeout:');
expect(lines[1]).to.match(/^[\d]+ms - \[Service 1] Starting...$/);
expect(lines[2]).to.match(/^[\d]+ms - \[Service 2] Starting...$/);
expect(lines[1]).to.match(/^[\d]+ms - \[Service 1] Starting...$/, error.message);
expect(lines[2]).to.match(/^[\d]+ms - \[Service 2] Starting...$/, error.message);
});
});

Expand Down

0 comments on commit c901e4c

Please sign in to comment.