Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): Bump codecov/codecov-action from 5.0.2 to 5.0.7 #349

Merged

build(deps): Bump codecov/codecov-action from 5.0.2 to 5.0.7

3fda661
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

build(deps): Bump codecov/codecov-action from 5.0.2 to 5.0.7 #349

build(deps): Bump codecov/codecov-action from 5.0.2 to 5.0.7
3fda661
Select commit
Loading
Failed to load commit list.
GitHub Actions / Tests annotations (🧪 jest-coverage-report-action) failed Nov 21, 2024 in 0s

Test suite run failed

Failed tests: 2/110. Failed suites: 1/11.

Details

Created failed tests' annotations. To disable them, see documentation.

  ● DAppSigner › signTransaction › should handle transaction without node account ids

    TypeError: transaction._makeTransactionBody is not a function

      105 |   // This is a private function, though provides the capabilities to construct a proto.TransactionBody
      106 |   //@ts-ignore
    > 107 |   return transaction._makeTransactionBody(nodeAccountId)
          |                      ^
      108 | }
      109 |
      110 | export function transactionBodyToBase64String(transactionBody: proto.ITransactionBody) {

      at transactionToTransactionBody (src/lib/shared/utils.ts:107:22)
      at DAppSigner.signTransaction (src/lib/dapp/DAppSigner.ts:194:57)
      at Object.<anonymous> (test/dapp/DAppSigner.test.ts:632:20)

  ● DAppSigner › signTransaction › should throw error when transaction body serialization fails

    expect(received).rejects.toThrow(expected)

    Expected substring: "Failed to serialize transaction body"
    Received message:   "transaction._makeTransactionBody is not a function"

          105 |   // This is a private function, though provides the capabilities to construct a proto.TransactionBody
          106 |   //@ts-ignore
        > 107 |   return transaction._makeTransactionBody(nodeAccountId)
              |                      ^
          108 | }
          109 |
          110 | export function transactionBodyToBase64String(transactionBody: proto.ITransactionBody) {

      at transactionToTransactionBody (src/lib/shared/utils.ts:107:22)
      at DAppSigner.signTransaction (src/lib/dapp/DAppSigner.ts:194:57)
      at Object.<anonymous> (test/dapp/DAppSigner.test.ts:652:27)
      at Object.toThrow (node_modules/expect/build/index.js:218:22)
      at Object.<anonymous> (test/dapp/DAppSigner.test.ts:652:60)

Annotations

Check failure on line 589 in test/dapp/DAppSigner.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

DAppSigner > signTransaction > should handle transaction without node account ids

TypeError: transaction._makeTransactionBody is not a function
    at transactionToTransactionBody (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/src/lib/shared/utils.ts:107:22)
    at DAppSigner.signTransaction (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/src/lib/dapp/DAppSigner.ts:194:57)
    at Object.<anonymous> (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/test/dapp/DAppSigner.test.ts:632:20)
    at Promise.then.completed (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:316:40)
    at async _runTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:252:3)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:126:9)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:121:9)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:121:9)
    at async run (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:71:3)
    at async runAndTransformResultsToJestFormat (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at async jestAdapter (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at async runTestInternal (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-runner/build/runTest.js:367:16)
    at async runTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 644 in test/dapp/DAppSigner.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

DAppSigner > signTransaction > should throw error when transaction body serialization fails

Error: expect(received).rejects.toThrow(expected)

Expected substring: "Failed to serialize transaction body"
Received message:   "transaction._makeTransactionBody is not a function"

      105 |   // This is a private function, though provides the capabilities to construct a proto.TransactionBody
      106 |   //@ts-ignore
    > 107 |   return transaction._makeTransactionBody(nodeAccountId)
          |                      ^
      108 | }
      109 |
      110 | export function transactionBodyToBase64String(transactionBody: proto.ITransactionBody) {

      at transactionToTransactionBody (src/lib/shared/utils.ts:107:22)
      at DAppSigner.signTransaction (src/lib/dapp/DAppSigner.ts:194:57)
      at Object.<anonymous> (test/dapp/DAppSigner.test.ts:652:27)
    at Object.toThrow (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/expect/build/index.js:218:22)
    at Object.<anonymous> (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/test/dapp/DAppSigner.test.ts:652:60)
    at Promise.then.completed (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:316:40)
    at async _runTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:252:3)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:126:9)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:121:9)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:121:9)
    at async run (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:71:3)
    at async runAndTransformResultsToJestFormat (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at async jestAdapter (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at async runTestInternal (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-runner/build/runTest.js:367:16)
    at async runTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 589 in test/dapp/DAppSigner.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

DAppSigner > signTransaction > should handle transaction without node account ids

TypeError: transaction._makeTransactionBody is not a function
    at transactionToTransactionBody (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/src/lib/shared/utils.ts:107:22)
    at DAppSigner.signTransaction (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/src/lib/dapp/DAppSigner.ts:194:57)
    at Object.<anonymous> (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/test/dapp/DAppSigner.test.ts:632:20)
    at Promise.then.completed (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:316:40)
    at async _runTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:252:3)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:126:9)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:121:9)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:121:9)
    at async run (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:71:3)
    at async runAndTransformResultsToJestFormat (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at async jestAdapter (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at async runTestInternal (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-runner/build/runTest.js:367:16)
    at async runTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-runner/build/runTest.js:444:34)

Check failure on line 644 in test/dapp/DAppSigner.test.ts

See this annotation in the file changed.

@github-actions github-actions / Tests annotations (🧪 jest-coverage-report-action)

DAppSigner > signTransaction > should throw error when transaction body serialization fails

Error: expect(received).rejects.toThrow(expected)

Expected substring: "Failed to serialize transaction body"
Received message:   "transaction._makeTransactionBody is not a function"

      105 |   // This is a private function, though provides the capabilities to construct a proto.TransactionBody
      106 |   //@ts-ignore
    > 107 |   return transaction._makeTransactionBody(nodeAccountId)
          |                      ^
      108 | }
      109 |
      110 | export function transactionBodyToBase64String(transactionBody: proto.ITransactionBody) {

      at transactionToTransactionBody (src/lib/shared/utils.ts:107:22)
      at DAppSigner.signTransaction (src/lib/dapp/DAppSigner.ts:194:57)
      at Object.<anonymous> (test/dapp/DAppSigner.test.ts:652:27)
    at Object.toThrow (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/expect/build/index.js:218:22)
    at Object.<anonymous> (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/test/dapp/DAppSigner.test.ts:652:60)
    at Promise.then.completed (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/utils.js:298:28)
    at new Promise (<anonymous>)
    at callAsyncCircusFn (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/utils.js:231:10)
    at _callCircusTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:316:40)
    at async _runTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:252:3)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:126:9)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:121:9)
    at async _runTestsForDescribeBlock (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:121:9)
    at async run (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/run.js:71:3)
    at async runAndTransformResultsToJestFormat (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
    at async jestAdapter (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
    at async runTestInternal (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-runner/build/runTest.js:367:16)
    at async runTest (/home/runner/_work/hedera-wallet-connect/hedera-wallet-connect/node_modules/jest-runner/build/runTest.js:444:34)