From 81246325d255d13f2d1e4c5f780c143f305c20fa Mon Sep 17 00:00:00 2001 From: 0xPatrick Date: Thu, 25 Apr 2024 14:00:43 -0400 Subject: [PATCH] test(cosmic-proto): include `ibc` in snapshot tests --- packages/cosmic-proto/package.json | 4 ++++ .../test/snapshots/test-exports.js.md | 11 +++++++++++ .../test/snapshots/test-exports.js.snap | Bin 1128 -> 1196 bytes packages/cosmic-proto/test/test-exports.js | 4 ++++ 4 files changed, 19 insertions(+) diff --git a/packages/cosmic-proto/package.json b/packages/cosmic-proto/package.json index 26f90f21d2c..9e2db1fea14 100644 --- a/packages/cosmic-proto/package.json +++ b/packages/cosmic-proto/package.json @@ -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" diff --git a/packages/cosmic-proto/test/snapshots/test-exports.js.md b/packages/cosmic-proto/test/snapshots/test-exports.js.md index 11890826051..33dcdb4d395 100644 --- a/packages/cosmic-proto/test/snapshots/test-exports.js.md +++ b/packages/cosmic-proto/test/snapshots/test-exports.js.md @@ -19,6 +19,7 @@ Generated by [AVA](https://avajs.dev). 'gogoproto', 'google', 'ibc', + 'ics23', 'int64FromString', 'int64Length', 'int64ToString', @@ -119,3 +120,13 @@ Generated by [AVA](https://avajs.dev). 'upgrade', 'vesting', ] + +## ibc + +> Snapshot 1 + + [ + 'applications', + 'core', + 'lightclients', + ] diff --git a/packages/cosmic-proto/test/snapshots/test-exports.js.snap b/packages/cosmic-proto/test/snapshots/test-exports.js.snap index 26e36c8403fb1c107e5819c08844addf0223a56c..36cef32851d4b0607a502cf578bc231d0cf3d911 100644 GIT binary patch literal 1196 zc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CLv>pIk; zig&+2B^Ey6w6W-6a`94T@yc>?@wv?6mF3jp^RB2~c(pTxo^*M8&^m9kU?}ZVE^iOL zKB&yX7e>J=%NBmxsdRL-#_BR~yFQaZu8J-)aEpdM->$Fsm_SjKc8rQ`4WJ2035() z03HB12JkOVXmu&u>iM_2`&|tc(|ViTh?zFIUN59LW4hcYZBic9WIL0|HF_~k8q?%{ zO_2HEQTMF&ERMF=`H2 z`#cI16XWDOn_-R7bGAntQIu12F2P7?xz~S{a~i&LJW9g%0K@=31#lO@52u!}5OF4Q znpN!W$mvvU)u=eg2~%h#UTvqtR4bBo8rAnH&wEG3o*Mh*{Xt^H>G>t`>9fJ$9L_@hP_}Y*Sqznon>l|hBu5rEVwIY` uyPcb?%G%I_#GvA)D$lfYqf|L=hKdefUN=aUTTGkBS^ftDTdMo83jhETf*h3q diff --git a/packages/cosmic-proto/test/test-exports.js b/packages/cosmic-proto/test/test-exports.js index a4f9908ba7c..88f31c13f05 100644 --- a/packages/cosmic-proto/test/test-exports.js +++ b/packages/cosmic-proto/test/test-exports.js @@ -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()); +});