-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Security Solution] [Cases] Various Cases cleanups #102103
Changes from 20 commits
57e43ab
65d02f2
f49cb8d
a11115b
7abb89a
eaa8d51
55caa9b
0fa9c18
4564041
c284842
b7424ab
38c6620
68e9ee0
fb237aa
ef0b081
27db481
f9bae67
19a556c
c345cf6
dd88370
5d14497
5ec40cc
668daf5
dd4a0c7
e837d21
59d2058
973ffa0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,14 @@ export const mockHistory = { | |
length: 2, | ||
location, | ||
action: pop, | ||
push: jest.fn(), | ||
replace: jest.fn(), | ||
go: jest.fn(), | ||
goBack: jest.fn(), | ||
goForward: jest.fn(), | ||
block: jest.fn(), | ||
createHref: jest.fn(), | ||
listen: jest.fn(), | ||
push: () => {}, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we still have some tests using this mock now that we removed them from the file below? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. good point no i dont think so, there is one but its |
||
replace: () => {}, | ||
go: () => {}, | ||
goBack: () => {}, | ||
goForward: () => {}, | ||
block: () => {}, | ||
createHref: () => {}, | ||
listen: () => {}, | ||
}; | ||
|
||
export const mockLocation = { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉