-
Notifications
You must be signed in to change notification settings - Fork 127
Fix #2155 : Download Metadata XML and update submodule #2190
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
Changes from all commits
7ea685d
1316206
46fc7d5
28f2a72
dff1fd4
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 | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -13,9 +13,11 @@ import { gnDownloadMetaData } from '@js/epics/gndownload'; | |||||||
|
|
||||||||
| describe('gnDownloadMetaData epic', () => { | ||||||||
| beforeEach(done => { | ||||||||
| global.__DEVTOOLS__ = true; | ||||||||
|
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. |
||||||||
| setTimeout(done); | ||||||||
| }); | ||||||||
| afterEach(done => { | ||||||||
|
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.
Suggested change
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. Adding cleanup after test |
||||||||
| delete global.__DEVTOOLS__; | ||||||||
| setTimeout(done); | ||||||||
| }); | ||||||||
| it('should download metadata', (done) => { | ||||||||
|
|
||||||||
This file was deleted.
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.
For conciseness and improved readability, this function can be simplified into a single-line arrow function with an implicit return. This is a common pattern for functions that only contain a return statement.