Skip to content

Commit

Permalink
Tests: Plug board instance leak
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Jul 19, 2015
1 parent a79f247 commit 3e4595b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/sensor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1192,8 +1192,8 @@ exports["Sensor - Digital"] = {
},

tearDown: function(done) {
this.clock.restore();
this.digitalRead.restore();
Board.purge();
restore(this);
done();
},

Expand Down

0 comments on commit 3e4595b

Please sign in to comment.