-
Notifications
You must be signed in to change notification settings - Fork 40
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
fix: expose timeout typing #263
Conversation
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.
Would you mind to add a test?
sure, I didn't notice type-related tests! |
c1dc647
to
18413b3
Compare
@@ -386,7 +386,8 @@ import * as avvio from "../../"; | |||
const server = { hello: "world" }; | |||
const options = { | |||
autostart: false, | |||
expose: { after: "after", ready: "ready", use: "use", close: "close", onClose : "onClose" } | |||
expose: { after: "after", ready: "ready", use: "use", close: "close", onClose : "onClose" }, | |||
timeout: 50000 |
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.
I think this should enough, and the right place, to test this change
Updated
avvio.Options
typings to include the (optional)timeout
field, documented here.Checklist
npm run test
andnpm run benchmark
and the Code of conduct