diff --git a/test/lib/dashboard-agent.spec.js b/test/lib/dashboard-agent.spec.js
index <HASH>..<HASH> 100644
--- a/test/lib/dashboard-agent.spec.js
+++ b/test/lib/dashboard-agent.spec.js
@@ -102,16 +102,14 @@ describe("dashboard-agent", () => {
       });
     });
 
-    it("should return an error when pusage fails", (done) => {
+    it("should return an error when pusage fails", () => {
       const pidStub = sinon.stub(pusage, "stat").yields(new Error("bad error"));
 
       agent._getStats((err, metrics) => {
         expect(err).to.exist;
         expect(metrics).to.be.undefined;
         expect(err.message).to.equal("bad error");
-
         pidStub.restore();
-        done();
       });
     });
   });
Remove callback from test since yield returns immediately .