Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
fengmk2 committed Feb 4, 2025
1 parent a2ffb84 commit feed980
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/core/service/ProxyCacheService.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ describe('test/core/service/ProxyCacheService/index.test.ts', () => {
const name = 'cnpmcore-test-sync-blocklist';
mock(app.config.cnpmcore, 'syncPackageBlockList', [ name ]);
try {
await proxyCacheService.getPackageVersionTarResponse(name, app.mockContext());
// TODO(fengmk2): extend module, beginModuleScope, getEggObject on tegg
await proxyCacheService.getPackageVersionTarResponse(name, app.mockContext() as Context);
} catch (error) {
assert(error.options.message.includes('block list'));
}
Expand Down

0 comments on commit feed980

Please sign in to comment.