Skip to content

Commit

Permalink
DSFAAP-515: use toBe for primitive comparison in test
Browse files Browse the repository at this point in the history
  • Loading branch information
hughfdjackson committed Jan 9, 2025
1 parent ea83355 commit 573dbb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/common/helpers/notify/notify.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('sendNotification', () => {
'https://api.notifications.service.gov.uk/v2/notifications/email'
)

expect(options.method).toEqual('POST')
expect(options.method).toBe('POST')
expect(JSON.parse(options.body)).toEqual({
personalisation: testData,
template_id: config.get('notify').templateId,
Expand Down

0 comments on commit 573dbb0

Please sign in to comment.