Skip to content

Commit

Permalink
clean up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanrahic committed Jan 20, 2020
1 parent 22f63d7 commit 4322d6b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,12 +191,10 @@ describe('SPM for Node.js tests', function () {
done(new Error(`No infra token set ${metric.tags.token} != ${config.tokens.infra}`))
errorReported = true
}
console.log(metric)
metricCounter = metricCounter + 1
}
if (metric.measurement && metric.measurement.indexOf('process') > -1 && metric.fields.count) {
if (metric.tags.token !== config.tokens.infra) {
console.log(metric)
done(new Error(`No infra token set ${metric.tags.token} != ${config.tokens.infra}`))
errorReported = true
}
Expand Down

0 comments on commit 4322d6b

Please sign in to comment.