-
Notifications
You must be signed in to change notification settings - Fork 0
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
Routine maintenance 2023-07 #158
Conversation
// Activate the timer | ||
jest.runAllTimers() | ||
return pendingPromise | ||
}) | ||
|
||
test('middleware rejects stubbed request after delay with error flag', () => { | ||
jest.useFakeTimers() | ||
jest.spyOn(global, 'setTimeout') |
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.
Resolves error received that expect(setTimeout)
expects a spy
"@babel/core": "^7.5.5", | ||
"@launchpadlab/babel-preset": "^2.1.0", | ||
"@launchpadlab/eslint-config": "^2.4.1", | ||
"axios": "^0.18.0", |
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.
We're mocking this package entirely, so we don't actually need to install it locally for anything
"@launchpadlab/babel-preset": "^2.1.1", | ||
"@launchpadlab/eslint-config": "^3.0.1", | ||
"codeclimate-test-reporter": "^0.5.1", | ||
"documentation": "^14.0.2", |
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.
Only change that affects us is bullet points go from -
to *
}, | ||
"dependencies": { | ||
"es6-symbol": "^3.1.1", |
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.
This wasn't supported in IE, but that browser no longer needs support!
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.
LGTM code-wise too! Added a question around changelog notes but that's non-blocking IMO.
@@ -1,29 +1,27 @@ | |||
import Symbol from 'es6-symbol' |
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.
In the changelog for this version change I'd imagine we'll note that IE6
support is now dropped?
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.
Good point! I'll add that to the GitHub release notes. We typically don't maintain changelog files on client-side libs.
prepublish
changes in later versions of npm)