Skip to content

Commit a26a4f9

Browse files
committed
Fixing test
1 parent d457051 commit a26a4f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

x-pack/plugins/actions/server/builtin_action_types/pagerduty.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ describe('validateParams()', () => {
157157
expect(validateParams(actionType, params)).toEqual(params);
158158
});
159159

160-
test('should validate and pass when params is valid and optional timestamp is null', () => {
160+
test('should validate and pass when params is valid and optional timestamp is undefined', () => {
161161
expect(validateParams(actionType, {})).toEqual({});
162162

163163
const params = {
@@ -166,7 +166,7 @@ describe('validateParams()', () => {
166166
summary: 'a summary',
167167
source: 'a source',
168168
severity: 'critical',
169-
timestamp: null,
169+
timestamp: undefined,
170170
component: 'a component',
171171
group: 'a group',
172172
class: 'a class',

0 commit comments

Comments
 (0)