Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nagesh-dixit committed Mar 22, 2024
1 parent 4df12d9 commit 3425247
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 241 deletions.
133 changes: 0 additions & 133 deletions free-sample-product-service/src/controllers/cart.controller.test.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import { getCategoryByKey } from '../api/categories';
// Mocking dependencies
jest.mock('../utils/config.utils');
jest.mock('../utils/logger.utils');
jest.mock('../products/fetch.products');
jest.mock('../categories/categories');
jest.mock('../api/fetch.products');
jest.mock('../api/categories');

describe('Job Controller', () => {
let req: Request;
Expand Down
2 changes: 1 addition & 1 deletion new-product-event-app/src/connector/pre-undeploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function run(): Promise<void> {
await preUndeploy();
} catch (error) {
assertError(error);
process.stderr.write(`Post-undeploy failed: ${error.message}\n`);
process.stderr.write(`Pre-undeploy failed: ${error.message}`);
process.exitCode = 1;
}
}
Expand Down
105 changes: 0 additions & 105 deletions new-product-event-app/src/controllers/event.controller.test.ts

This file was deleted.

0 comments on commit 3425247

Please sign in to comment.