Skip to content

Commit

Permalink
✂️ refactor: remove unnecessary async
Browse files Browse the repository at this point in the history
  • Loading branch information
anoff committed Mar 26, 2017
1 parent 7afefa7 commit 7ca0bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/connection.test.js
Expand Up @@ -28,7 +28,7 @@ test('.state should be OPEN after .constructor() call', async t => {
t.is((await new M()).state, M.states().OPEN);
});

test('.constructor() should reject on error', async t => {
test('.constructor() should reject on error', t => {
class SpStub {
constructor(port, opts, cb) {
cb('erroror');
Expand Down

0 comments on commit 7ca0bc9

Please sign in to comment.