Skip to content

Commit

Permalink
add more test
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierM committed Nov 14, 2022
1 parent 1bc1db7 commit d9a6b9d
Show file tree
Hide file tree
Showing 2 changed files with 333 additions and 359 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/

import { ApiRule, transformRule } from './common_transformations';
import { RuleExecutionStatusErrorReasons } from '../../common';
import { RuleExecutionStatusErrorReasons, RuleLastRunOutcomeValues } from '../../common';

beforeEach(() => jest.resetAllMocks());

Expand Down Expand Up @@ -90,7 +90,7 @@ describe('common_transformations', () => {
ignored: 4,
},
},
next_run: dateUpdated.toISOString(),
next_run: dateUpdated,
};
expect(transformRule(apiRule)).toMatchInlineSnapshot(`
Object {
Expand Down
Loading

0 comments on commit d9a6b9d

Please sign in to comment.