Skip to content

Commit

Permalink
Update dependency prettier to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dex4er committed Aug 11, 2020
1 parent c1c94e8 commit cf5700c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -47,7 +47,7 @@
"mocha": "^6.2.2",
"mocha-steps": "^1.3.0",
"nyc": "^15.0.0",
"prettier": "^1.19.1",
"prettier": "^2.0.5",
"promise-readable": "^5.0.4",
"promise-writable": "^5.0.4",
"readline-transform": "^1.0.0",
Expand Down
8 changes: 2 additions & 6 deletions test/promise-socket-connect.ts
Expand Up @@ -137,9 +137,7 @@ Feature("Test promise-socket module for connect method", () => {
})

Then("promise is rejected", () => {
expect(error)
.to.be.an("error")
.with.property("message", "badhost")
expect(error).to.be.an("error").with.property("message", "badhost")
})
})

Expand Down Expand Up @@ -167,9 +165,7 @@ Feature("Test promise-socket module for connect method", () => {
})

Then("promise is rejected", () => {
expect(error)
.to.be.an("error")
.with.property("message", "error")
expect(error).to.be.an("error").with.property("message", "error")
})
})
})

0 comments on commit cf5700c

Please sign in to comment.