Skip to content

Commit

Permalink
test(cosmic-proto): include ibc in snapshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpatrickdev committed Apr 25, 2024
1 parent 5f27c02 commit 8124632
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/cosmic-proto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"types": "./dist/codegen/cosmos/staking/v1beta1/tx.d.ts",
"default": "./dist/codegen/cosmos/staking/v1beta1/tx.js"
},
"./ibc/applications/transfer/v1/tx.js": {
"types": "./dist/codegen/ibc/applications/transfer/v1/tx.d.ts",
"default": "./dist/codegen/ibc/applications/transfer/v1/tx.js"
},
"./google/protobuf/any": {
"types": "./dist/codegen/google/protobuf/any.d.ts",
"default": "./dist/codegen/google/protobuf/any.js"
Expand Down
11 changes: 11 additions & 0 deletions packages/cosmic-proto/test/snapshots/test-exports.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Generated by [AVA](https://avajs.dev).
'gogoproto',
'google',
'ibc',
'ics23',
'int64FromString',
'int64Length',
'int64ToString',
Expand Down Expand Up @@ -119,3 +120,13 @@ Generated by [AVA](https://avajs.dev).
'upgrade',
'vesting',
]

## ibc

> Snapshot 1
[
'applications',
'core',
'lightclients',
]
Binary file modified packages/cosmic-proto/test/snapshots/test-exports.js.snap
Binary file not shown.
4 changes: 4 additions & 0 deletions packages/cosmic-proto/test/test-exports.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,7 @@ test('agoric', t => {
test('cosmos', t => {
t.snapshot(Object.keys(index.cosmos).sort());
});

test('ibc', t => {
t.snapshot(Object.keys(index.ibc).sort());
});

0 comments on commit 8124632

Please sign in to comment.