-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move default plugin setup to start() (#6555)
We've added an addPlugin API that lets you add plugins after the constructor, so it's no longer appropriate to do "have you added a usage reporting plugin?" checks in the constructor. Instead we do it in start(). This also means this code can be async, which means we can have it do runtime deep imports soon... While changing a test for this, add a bunch of missing server.stop()s to tests. Fixes #6552.
- Loading branch information
Showing
2 changed files
with
40 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters