Skip to content

Commit

Permalink
Fix board tests
Browse files Browse the repository at this point in the history
Updates board snapshot and serialize tests to account for the new thermometer `freq` property.
  • Loading branch information
islemaster committed May 26, 2017
1 parent f684a20 commit 7b4489d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/board.js
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ exports["Board"] = {
},

snapshot: function(test) {
test.expect(68);
test.expect(69);

new Multi({
controller: "BME280",
Expand Down Expand Up @@ -626,7 +626,8 @@ exports["Board"] = {
F: 32,
celsius: 0,
kelvin: 273.15,
aref: 5
aref: 5,
freq: 25
}, {
freq: 25,
constrained: 0,
Expand Down

0 comments on commit 7b4489d

Please sign in to comment.