smartystreets-javascript-sdk-utils
Advanced tools
Comparing version 0.0.0 to 1.0.1
{ | ||
"name": "smartystreets-javascript-sdk-utils", | ||
"version": "0.0.0", | ||
"version": "1.0.1", | ||
"description": "Utils library to use with the SmartyStreets Javascript SDK", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -12,5 +12,5 @@ function isMissingSecondary (result) { | ||
return n1DPVFootnotePresent || r1DPVFootnotePresent || hSharpFootnotePresent; | ||
return !!(n1DPVFootnotePresent || r1DPVFootnotePresent || hSharpFootnotePresent); | ||
} | ||
module.exports = isMissingSecondary; |
@@ -28,2 +28,5 @@ const chai = require("chai"); | ||
}]; | ||
const noQualifyingFootnotesPresent = [{ | ||
analysis: {} | ||
}]; | ||
@@ -33,3 +36,4 @@ expect(isMissingSecondary(n1Address)).to.equal(true); | ||
expect(isMissingSecondary(hSharpAddress)).to.equal(true); | ||
expect(isMissingSecondary(noQualifyingFootnotesPresent)).to.equal(false); | ||
}); | ||
}); |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
19704
179
0