Skip to content

Commit

Permalink
scenario contract update (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludeknovy authored Apr 5, 2021
1 parent c9658f2 commit b08a978
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/scenario-api.service.pact.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ describe('Scenario', () => {
name: 'test-scenario',
id: 'e3d1cde2-6079-4b01-8592-4bde15ae6ed7',
data: Matchers.eachLike({
avgLatency: '372',
avgLatency: 372,
avgResponseTime: 373,
duration: 11.99,
// tslint:disable-next-line:max-line-length
Expand Down Expand Up @@ -86,7 +86,7 @@ describe('Scenario', () => {
expect(_.name.length).toBeGreaterThan(0);
expect(_.data).toEqual(jasmine.any(Array));
_.data.forEach((d) => {
expect(d.avgLatency).toEqual(jasmine.any(String));
expect(d.avgLatency).toEqual(jasmine.any(Number));
expect(d.avgResponseTime).toEqual(jasmine.any(Number));
expect(d.duration).toEqual(jasmine.any(Number));
expect(d.errorRate).toEqual(jasmine.any(Number));
Expand Down

0 comments on commit b08a978

Please sign in to comment.