Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
js-jankisalvi committed Nov 29, 2023
1 parent b7b7585 commit 6cdc701
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1078,13 +1078,7 @@ describe('ServiceNow service', () => {
);
});

test('it should throw an error when no incidents found with given correlationId', async () => {
await expect(
service.closeIncident({ incidentId: null, correlationId: 'foo' })
).resolves.toBe(null);
});

test('it should throw warning if found incident is closed', async () => {
test('it should log warning if found incident is closed', async () => {
requestMock.mockImplementationOnce(() => ({
data: {
result: {
Expand Down

0 comments on commit 6cdc701

Please sign in to comment.