-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added isoly export, updated tests to use it. (#108)
* Added isoly export, updated tests to use it. * Fixed vulnerably build dependencies.
- Loading branch information
Showing
12 changed files
with
1,783 additions
and
1,524 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { CurrencyCode } from "./CurrencyCode" | ||
import { isoly } from "./index" | ||
|
||
describe("CurrencyCode", () => { | ||
it("undefined", () => { | ||
expect(CurrencyCode.is(undefined)).toBeFalsy() | ||
expect(isoly.CurrencyCode.is(undefined)).toBeFalsy() | ||
}) | ||
it("check types array", () => { | ||
expect(CurrencyCode.types.every(c => CurrencyCode.is(c))).toBeTruthy() | ||
expect(CurrencyCode.is("752")).toBeTruthy() | ||
expect(CurrencyCode.is("000")).toBeFalsy() | ||
expect(isoly.CurrencyCode.types.every(c => isoly.CurrencyCode.is(c))).toBeTruthy() | ||
expect(isoly.CurrencyCode.is("752")).toBeTruthy() | ||
expect(isoly.CurrencyCode.is("000")).toBeFalsy() | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.