Skip to content

Commit

Permalink
Fix test descriptions
Browse files Browse the repository at this point in the history
Jira ticket: CAMS-

Co-authored-by: Arthur Morrow <[email protected]>
Co-authored-by: Brian Posey <[email protected]>,
  • Loading branch information
btposey and amorrow-flexion committed Sep 20, 2024
1 parent 9df3a7d commit fd7cc68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/functions/orders-sync/orders-sync.function.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Timer } from '@azure/functions';
import { createMockAzureFunctionContext } from '../azure/testing-helpers';
import { OrdersController } from '../lib/controllers/orders/orders.controller';

describe('Order Sync Function tests', () => {
describe('Orders Sync Function tests', () => {
const context = createMockAzureFunctionContext();
const timer: Timer = {
isPastDue: false,
Expand All @@ -19,7 +19,7 @@ describe('Order Sync Function tests', () => {
},
};

test('Should call offices controller method handleTimer', async () => {
test('Should call orders controller method handleTimer', async () => {
const handleTimer = jest
.spyOn(OrdersController.prototype, 'handleTimer')
.mockImplementation(() => Promise.resolve());
Expand Down

0 comments on commit fd7cc68

Please sign in to comment.