We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d457051 commit a26a4f9Copy full SHA for a26a4f9
1 file changed
x-pack/plugins/actions/server/builtin_action_types/pagerduty.test.ts
@@ -157,7 +157,7 @@ describe('validateParams()', () => {
157
expect(validateParams(actionType, params)).toEqual(params);
158
});
159
160
- test('should validate and pass when params is valid and optional timestamp is null', () => {
+ test('should validate and pass when params is valid and optional timestamp is undefined', () => {
161
expect(validateParams(actionType, {})).toEqual({});
162
163
const params = {
@@ -166,7 +166,7 @@ describe('validateParams()', () => {
166
summary: 'a summary',
167
source: 'a source',
168
severity: 'critical',
169
- timestamp: null,
+ timestamp: undefined,
170
component: 'a component',
171
group: 'a group',
172
class: 'a class',
0 commit comments