diff options
author | Leonid <logvinov.leon@gmail.com> | 2017-06-10 18:23:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-10 18:23:41 +0800 |
commit | 1cff9fdf77e39aa707f2a13a00d07d73543f0f00 (patch) | |
tree | e69bcf1bdb24de596023dbf55f2a464600c36a38 /test | |
parent | 81e3b180a9f764989bc76e68a1d55006e2eff80e (diff) | |
parent | b739ae24944876c28a2ff474993e72a7178b3d1b (diff) | |
download | dexon-sol-tools-1cff9fdf77e39aa707f2a13a00d07d73543f0f00.tar dexon-sol-tools-1cff9fdf77e39aa707f2a13a00d07d73543f0f00.tar.gz dexon-sol-tools-1cff9fdf77e39aa707f2a13a00d07d73543f0f00.tar.bz2 dexon-sol-tools-1cff9fdf77e39aa707f2a13a00d07d73543f0f00.tar.lz dexon-sol-tools-1cff9fdf77e39aa707f2a13a00d07d73543f0f00.tar.xz dexon-sol-tools-1cff9fdf77e39aa707f2a13a00d07d73543f0f00.tar.zst dexon-sol-tools-1cff9fdf77e39aa707f2a13a00d07d73543f0f00.zip |
Merge branch 'master' into subscribe-async-tests
Diffstat (limited to 'test')
-rw-r--r-- | test/schema_test.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/schema_test.ts b/test/schema_test.ts index 376ac5d6f..b251a68f9 100644 --- a/test/schema_test.ts +++ b/test/schema_test.ts @@ -286,8 +286,7 @@ describe('Schema', () => { '.3': '0.3', }; _.forEach(testCases, (serialized: string, input: string) => { - expect(SchemaValidator.convertToJSONSchemaCompatibleObject(new BigNumber(input))) - .to.be.equal(serialized); + expect(JSON.parse(JSON.stringify(new BigNumber(input)))).to.be.equal(serialized); }); }); }); |