8 lines
No EOL
181 B
JavaScript
8 lines
No EOL
181 B
JavaScript
describe("extractCurrencyValue", function() {
|
|
|
|
it("for the string $120 returns the number 120", function() {
|
|
assert.strictEqual(extractCurrencyValue('$120'), 120);
|
|
});
|
|
|
|
|
|
}); |