aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLeonid <logvinov.leon@gmail.com>2017-06-10 18:23:41 +0800
committerGitHub <noreply@github.com>2017-06-10 18:23:41 +0800
commit1cff9fdf77e39aa707f2a13a00d07d73543f0f00 (patch)
treee69bcf1bdb24de596023dbf55f2a464600c36a38 /test
parent81e3b180a9f764989bc76e68a1d55006e2eff80e (diff)
parentb739ae24944876c28a2ff474993e72a7178b3d1b (diff)
downloaddexon-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.ts3
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);
});
});
});