fix test #9156
Annotations
5 errors and 3 warnings
check
Argument of type '{ sync: jest.Mock<any, any, any>; api: { tokenActivity: jest.Mock<any, any, any>; tokenDiscovery: jest.Mock<any, any, any>; tokenImageInvalidate: jest.Mock<any, any, any>; tokenInfo: jest.Mock<...>; tokenInfos: jest.Mock<...>; tokenTraits: jest.Mock<...>; }; ... 5 more ...; observable$: any; }' is not assignable to parameter of type 'Readonly<{ hydrate(params: Readonly<{ sourceId: string; }>): void; sync(params: Readonly<{ secondaryTokenIds: readonly `${string}.${string}`[]; }> & Readonly<{ sourceId: string; }>): Promise<...>; ... 5 more ...; clear(params: Readonly<...>): void; }>'.
|
check
Argument of type '{ sync: jest.Mock<any, any, any>; api: { tokenActivity: jest.Mock<any, any, any>; tokenDiscovery: jest.Mock<any, any, any>; tokenImageInvalidate: jest.Mock<any, any, any>; tokenInfo: jest.Mock<...>; tokenInfos: jest.Mock<...>; tokenTraits: jest.Mock<...>; }; ... 5 more ...; observable$: any; }' is not assignable to parameter of type 'Readonly<{ hydrate(params: Readonly<{ sourceId: string; }>): void; sync(params: Readonly<{ secondaryTokenIds: readonly `${string}.${string}`[]; }> & Readonly<{ sourceId: string; }>): Promise<...>; ... 5 more ...; clear(params: Readonly<...>): void; }>'.
|
check
Argument of type '{ sync: jest.Mock<any, any, any>; api: { tokenActivity: jest.Mock<any, any, any>; tokenDiscovery: jest.Mock<any, any, any>; tokenImageInvalidate: jest.Mock<any, any, any>; tokenInfo: jest.Mock<...>; tokenInfos: jest.Mock<...>; tokenTraits: jest.Mock<...>; }; ... 5 more ...; observable$: any; }' is not assignable to parameter of type 'Readonly<{ hydrate(params: Readonly<{ sourceId: string; }>): void; sync(params: Readonly<{ secondaryTokenIds: readonly `${string}.${string}`[]; }> & Readonly<{ sourceId: string; }>): Promise<...>; ... 5 more ...; clear(params: Readonly<...>): void; }>'.
|
check
Argument of type '{ sync: jest.Mock<any, any, any>; api: { tokenActivity: jest.Mock<any, any, any>; tokenDiscovery: jest.Mock<any, any, any>; tokenImageInvalidate: jest.Mock<any, any, any>; tokenInfo: jest.Mock<...>; tokenInfos: jest.Mock<...>; tokenTraits: jest.Mock<...>; }; ... 5 more ...; observable$: any; }' is not assignable to parameter of type 'Readonly<{ hydrate(params: Readonly<{ sourceId: string; }>): void; sync(params: Readonly<{ secondaryTokenIds: readonly `${string}.${string}`[]; }> & Readonly<{ sourceId: string; }>): Promise<...>; ... 5 more ...; clear(params: Readonly<...>): void; }>'.
|
check
Process completed with exit code 2.
|
check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
check:
packages/portfolio/src/adapters/dullahan-api/transformers.ts#L56
'toTokenActivity' is already declared in the upper scope on line 53 column 14
|