Skip to content

Commit

Permalink
* Added eventType, which is a required prop in 7.6.x to pass the …
Browse files Browse the repository at this point in the history
…type check, along with this note:

```
CAUTION: `eventType` is an optional prop in post-`7.6.x` branches. In later branches, `eventType`
is omitted from this test, to truly verify the new default from redux. In this branch, we must
specify `eventType` to pass the type check, but this is not the true intent of this test.
```
  • Loading branch information
andrew-goldstein committed Mar 3, 2020
1 parent b5ddab4 commit 1ad7971
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ describe('Timeline', () => {
id="foo"
dataProviders={mockDataProviders}
end={endDate}
eventType="all" // CAUTION: `eventType` is an optional prop in post-`7.6.x` branches. In later branches, `eventType` is omitted from this test, to truly verify the new default from redux. In this branch, we must specify `eventType` to pass the type check, but this is not the true intent of this test.
filters={[]}
flyoutHeight={testFlyoutHeight}
flyoutHeaderHeight={flyoutHeaderHeight}
Expand Down

0 comments on commit 1ad7971

Please sign in to comment.