Skip to content

Commit

Permalink
Fixed metric_f test
Browse files Browse the repository at this point in the history
Signed-off-by: James Turnbull <[email protected]>
  • Loading branch information
jamtur01 committed May 3, 2021
1 parent 9979b48 commit c5391d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/basic_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ test("should fire error event", function(done) {
});
});

test("should convert from metric to metric_f", function(done) {
test("should convert from metric to metricF", function(done) {
var value = Math.random(100)*100;
// Generate 'message' with 'metric' attribute
client.Event({
metric: value
}).apply({
send: function(message) {
// Generate 'message_f' with 'metric_f' attribute
// Generate 'message_f' with 'metricF' attribute
client.Event({
metric_f: value
metricF: value
}).apply({
send: function(message_f) {
// Verify message lengths match
Expand Down

0 comments on commit c5391d4

Please sign in to comment.