Skip to content

Commit 8f414ce

Browse files
committed
Update auth revoke test for express 4
1 parent 453f23d commit 8f414ce

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/red/api/auth/index_spec.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,9 @@ describe("api auth middleware",function() {
6464
revokeToken.restore();
6565

6666
resp.should.equal(200);
67-
done();
67+
return {
68+
end: done
69+
}
6870
}};
6971

7072
auth.revoke(req,res);

0 commit comments

Comments
 (0)