dollars-to-cents
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "dollars-to-cents", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Convert USD Dollars (formatted string, non-formatted, numerical value) to USD Cents (numerical).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -1,2 +0,2 @@ | ||
# Debounce | ||
# Dollars to Cents | ||
@@ -3,0 +3,0 @@ [![version][npm-version]][npm-url] |
@@ -6,2 +6,6 @@ /*global describe:false, it:false*/ | ||
describe('dollars-to-cents', function () { | ||
it('should properly error on invalid values', function () { | ||
assert.throws(dollarsToCents, Error) | ||
}) | ||
it('should properly handle numerical values', function () { | ||
@@ -8,0 +12,0 @@ assert(dollarsToCents(1) === 100) |
Sorry, the diff of this file is not supported yet
6328
41