-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0f99c9b
commit b56e725
Showing
3 changed files
with
51 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`chain 1`] = ` | ||
"{ | ||
$schema: 'schema.json', | ||
chainId: 'cosmos-1', | ||
logoURIs: { | ||
png: 'cosmos.png' | ||
}, | ||
binaries: { | ||
"linux/amd64": 'cosmos-bin.tar.gz' | ||
} | ||
}" | ||
`; |
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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { jsStringify } from "../src"; | ||
|
||
const chain = { | ||
"$schema": "schema.json", | ||
"chain_id": "cosmos-1", | ||
"logo_URIs": { | ||
"png": "cosmos.png" | ||
}, | ||
"binaries": { | ||
"linux/amd64": "cosmos-bin.tar.gz" | ||
} | ||
}; | ||
|
||
it('chain', () => { | ||
expect(jsStringify(chain, { camelCase: true, space: 2 })).toMatchSnapshot(); | ||
}); |