Skip to content

Optimize agent rules and documentation #21

Optimize agent rules and documentation

Optimize agent rules and documentation #21

Triggered via pull request September 29, 2025 23:47
Status Success
Total duration 1m 0s
Artifacts

unit-tests.yml

on: pull_request
Client Unit Tests
53s
Client Unit Tests
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
__tests__/hooks/useNftValidation.test.ts > useNFTValidation Hook Logic > Loading States > handles network errors: client/__tests__/hooks/useNftValidation.test.ts#L189
AssertionError: expected 'Invalid contract address format' to be 'Failed to validate contract. Not a va…' // Object.is equality Expected: "Failed to validate contract. Not a valid NFT contract or network error." Received: "Invalid contract address format" ❯ __tests__/hooks/useNftValidation.test.ts:189:28
__tests__/hooks/useNftValidation.test.ts > useNFTValidation Hook Logic > Loading States > handles loading state correctly: client/__tests__/hooks/useNftValidation.test.ts#L178
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ __tests__/hooks/useNftValidation.test.ts:178:32
__tests__/hooks/useNftValidation.test.ts > useNFTValidation Hook Logic > NFT Type Detection > handles contracts with ERC165 but no NFT interfaces: client/__tests__/hooks/useNftValidation.test.ts#L167
AssertionError: expected 'Invalid contract address format' to be 'Contract does not support ERC721 or E…' // Object.is equality Expected: "Contract does not support ERC721 or ERC1155 interfaces" Received: "Invalid contract address format" ❯ __tests__/hooks/useNftValidation.test.ts:167:28
__tests__/hooks/useNftValidation.test.ts > useNFTValidation Hook Logic > NFT Type Detection > handles contracts without ERC165 support: client/__tests__/hooks/useNftValidation.test.ts#L156
AssertionError: expected 'Invalid contract address format' to be 'Contract does not support ERC165 inte…' // Object.is equality Expected: "Contract does not support ERC165 interface detection" Received: "Invalid contract address format" ❯ __tests__/hooks/useNftValidation.test.ts:156:28
__tests__/hooks/useNftValidation.test.ts > useNFTValidation Hook Logic > NFT Type Detection > detects ERC1155 contracts correctly: client/__tests__/hooks/useNftValidation.test.ts#L145
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ __tests__/hooks/useNftValidation.test.ts:145:30
__tests__/hooks/useNftValidation.test.ts > useNFTValidation Hook Logic > NFT Type Detection > detects ERC721 contracts correctly: client/__tests__/hooks/useNftValidation.test.ts#L136
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ __tests__/hooks/useNftValidation.test.ts:136:30
__tests__/hooks/useNftValidation.test.ts > useNFTValidation Hook Logic > Address Validation > accepts valid address format: client/__tests__/hooks/useNftValidation.test.ts#L126
AssertionError: expected 'Invalid contract address format' to be null - Expected: null + Received: "Invalid contract address format" ❯ __tests__/hooks/useNftValidation.test.ts:126:28
__tests__/hooks/useJarCreation.test.ts > useJarCreation > 🚀 V1 vs V2 Logic > should force allowlist access type for v1 contracts: client/__tests__/hooks/useJarCreation.test.ts#L152
AssertionError: expected 1 to be +0 // Object.is equality - Expected + Received - 0 + 1 ❯ __tests__/hooks/useJarCreation.test.ts:152:41
__tests__/hooks/useJarCreation.test.ts > useJarCreation > 🚀 V1 vs V2 Logic > should disable custom fees for v1 contracts: client/__tests__/hooks/useJarCreation.test.ts#L141
AssertionError: expected true to be false // Object.is equality - Expected + Received - false + true ❯ __tests__/hooks/useJarCreation.test.ts:141:46
__tests__/hooks/useJarCreation.test.ts > useJarCreation > 🚀 V1 vs V2 Logic > should detect v2 contracts correctly: client/__tests__/hooks/useJarCreation.test.ts#L130
AssertionError: expected false to be true // Object.is equality - Expected + Received - true + false ❯ __tests__/hooks/useJarCreation.test.ts:130:43
Client Unit Tests
The process '/usr/bin/git' failed with exit code 128
Client Unit Tests
No files were found with the provided path: client/coverage/ !client/coverage/tmp/. No artifacts will be uploaded.
Client Unit Tests
Codecov: Failed to properly upload report: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1