Skip to content

Commit

Permalink
feat(upgrade): update to pact-node 6.16.x
Browse files Browse the repository at this point in the history
  • Loading branch information
mefellows committed May 8, 2018
1 parent 38e57a8 commit c1d938b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
]
},
"dependencies": {
"@pact-foundation/pact-node": "^6.14.2",
"@pact-foundation/pact-node": "^6.16.1",
"@types/express": "^4.11.1",
"body-parser": "^1.18.2",
"bunyan": "^1.8.12",
Expand Down
4 changes: 2 additions & 2 deletions src/messageConsumer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ describe("MessageConsumer", () => {
});

const testMessage: Message = {
content: {
contents: {
foo: "bar",
},
};
Expand Down Expand Up @@ -124,7 +124,7 @@ describe("MessageConsumer", () => {
consumer.withContent({ foo: "bar" });
const m = consumer.json();

expect(m.content).to.deep.eq({ foo: "bar" });
expect(m.contents).to.deep.eq({ foo: "bar" });
});
});

Expand Down
6 changes: 3 additions & 3 deletions src/messageProvider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,22 @@ describe("MesageProvider", () => {
const unsuccessfulRequest = "unsuccessfulRequest";

const successfulMessage: Message = {
content: { foo: "bar" },
contents: { foo: "bar" },
description: successfulRequest,
providerStates: [
{ name: "some state" },
],
};

const unsuccessfulMessage: Message = {
content: { foo: "bar" },
contents: { foo: "bar" },
description: unsuccessfulRequest,
providerStates: [
{ name: "some state not found" },
],
};
const nonExistentMessage: Message = {
content: { foo: "bar" },
contents: { foo: "bar" },
description: "does not exist",
providerStates: [
{ name: "some state not found" },
Expand Down

0 comments on commit c1d938b

Please sign in to comment.