From a56d4767953d55672f65d562cf696089e16b9bbf Mon Sep 17 00:00:00 2001 From: morizon Date: Fri, 10 Jan 2025 11:50:14 +0800 Subject: [PATCH] fix: lint --- .github/workflows/unittest.yml | 1 + packages/core/src/chains/evm/message.test.ts | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/unittest.yml b/.github/workflows/unittest.yml index 799ef55d074..30f5f81a62c 100644 --- a/.github/workflows/unittest.yml +++ b/.github/workflows/unittest.yml @@ -1,6 +1,7 @@ name: unittest on: + workflow_dispatch: pull_request: branches: - onekey diff --git a/packages/core/src/chains/evm/message.test.ts b/packages/core/src/chains/evm/message.test.ts index 14adf45c02d..d6b6014937e 100644 --- a/packages/core/src/chains/evm/message.test.ts +++ b/packages/core/src/chains/evm/message.test.ts @@ -2,6 +2,10 @@ import { EMessageTypesEth } from '@onekeyhq/shared/types/message'; import { hashMessage } from './message'; +/* +yarn jest packages/core/src/chains/evm/message.test.ts +*/ + const MAX_SAFE_INTEGER_AS_HEX = `0x${Number.MAX_SAFE_INTEGER.toString(16)}`; const MAX_SAFE_INTEGER_PLUS_ONE_CHAR_AS_HEX = `0x${Number.MAX_SAFE_INTEGER.toString( 16,