Skip to content

Commit

Permalink
Fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ymao1 committed Nov 12, 2020
1 parent d457051 commit a26a4f9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ describe('validateParams()', () => {
expect(validateParams(actionType, params)).toEqual(params);
});

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', () => {
expect(validateParams(actionType, {})).toEqual({});

const params = {
Expand All @@ -166,7 +166,7 @@ describe('validateParams()', () => {
summary: 'a summary',
source: 'a source',
severity: 'critical',
timestamp: null,
timestamp: undefined,
component: 'a component',
group: 'a group',
class: 'a class',
Expand Down

0 comments on commit a26a4f9

Please sign in to comment.