Skip to content

Commit

Permalink
Fix pipeline.
Browse files Browse the repository at this point in the history
  • Loading branch information
raress96 committed Sep 30, 2024
1 parent cb4c9e0 commit b4f84ec
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
- run: npm ci
- run: npm run lint

- run: npm run generate
- run: npm run test

- run: npm install -g dotenv-cli
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ describe('GatewayProcessor', () => {
updatedAt: new Date(),
createdAt: new Date(),
successTimes: null,
taskItemId: null,
};

messageApprovedRepository.findBySourceChainAndMessageId.mockReturnValueOnce(Promise.resolve(messageApproved));
Expand Down
2 changes: 0 additions & 2 deletions libs/common/src/decorators/get.or.set.cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ export function GetOrSetCache(cacheInfoFunc: (...args: any[]) => CacheInfo) {

const cachingService: CacheService = (this as any).cacheService;

console.log('Caching service', cachingService);

const funcValue = () => childMethod.apply(this, args);
return await cachingService.getOrSet(key, funcValue, ttl);
};
Expand Down

0 comments on commit b4f84ec

Please sign in to comment.