cover api/common/schema-validator.js with tests

This commit is contained in:
Ivan Tivonenko
2015-07-29 03:22:17 +03:00
parent 528d8bf25d
commit 0b09e53479
4 changed files with 57 additions and 5 deletions

7
test/fixtures/schemas/ledgerhash.json vendored Normal file
View File

@@ -0,0 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ledgerhash",
"description": "A ledger hash",
"type": "string",
"format": "ledgerHash"
}