Skip to content

Commit

Permalink
chore: fix test compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
ac10n committed Sep 20, 2023
1 parent 9e18a39 commit 1afd01b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"Ejara",
"entrypoints",
"FAILWITH",
"finalizable",
"flextesa",
"florencenet",
"forgeable",
Expand Down Expand Up @@ -80,6 +81,8 @@
"unopt",
"UNPAIR",
"unstake",
"unstaked",
"unstakes",
"zarith"
],
"files": [
Expand Down
4 changes: 2 additions & 2 deletions packages/taquito-local-forging/test/codec.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,15 +223,15 @@ describe('Tests for Entrypoint functions and for encode and decoder error messag
expect(() =>
entrypointDecoder(
Uint8ArrayConsumer.fromHexString(
'085c8244b8de7d57795962c1bfc855d0813f8c61eddf3795f804ccdea3e4c82ae95c8244b8de7d57795962c1bfc855d0813f8c61eddf3795f804ccdea3e4c82ae9'
'0a5c8244b8de7d57795962c1bfc855d0813f8c61eddf3795f804ccdea3e4c82ae95c8244b8de7d57795962c1bfc855d0813f8c61eddf3795f804ccdea3e4c82ae9'
)
)
).toThrow(OversizedEntryPointError);

expect(() =>
entrypointDecoder(
Uint8ArrayConsumer.fromHexString(
'085c8244b8de7d57795962c1bfc855d0813f8c61eddf3795f804ccdea3e4c82ae95c8244b8de7d57795962c1bfc855d0813f8c61eddf3795f804ccdea3e4c82ae9'
'0a5c8244b8de7d57795962c1bfc855d0813f8c61eddf3795f804ccdea3e4c82ae95c8244b8de7d57795962c1bfc855d0813f8c61eddf3795f804ccdea3e4c82ae9'
)
)
).toThrow(
Expand Down
6 changes: 6 additions & 0 deletions packages/taquito/test/contract/rpc-contract-provider.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,9 @@ describe('RpcContractProvider test', () => {
smartRollupAddMessages: jest.Mock<any, any>;
contractCall: jest.Mock<any, any>;
smartRollupOriginate: jest.Mock<any, any>;
stake: jest.Mock<any, any>;
unstake: jest.Mock<any, any>;
finalizeUnstake: jest.Mock<any, any>;
};

beforeEach(() => {
Expand Down Expand Up @@ -150,6 +153,9 @@ describe('RpcContractProvider test', () => {
smartRollupAddMessages: jest.fn(),
contractCall: jest.fn(),
smartRollupOriginate: jest.fn(),
stake: jest.fn(),
unstake: jest.fn(),
finalizeUnstake: jest.fn(),
};

// Required for operations confirmation polling
Expand Down

0 comments on commit 1afd01b

Please sign in to comment.