-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(e2e-tests): refactor
TestShell
to ensure killAll
gets called (
#2170) * Refactored TestShell to ensure killAll is called * Avoid asserting test shell enabled in after as some "before" hook might have failed * Remove open shells as they get killed * Kill shells before removing homedir * Add a startTestShell onto the Mocha.Context * Require test-shell.ts before tests * Update tests to start shells from context * Export and test ensureTestShellAfterHook * Use ensureTestShellAfterHook to ensure order of hooks * Adding back the after block in e2e-direct tests * Split test-shell.ts to separate concerns * Add assertNoOpenShells to e2e-editor * Using a doc comment instead of a @deprecated tag * Refactored "runAndGetOutputWithoutErrors" into "waitForCleanOutout"
- Loading branch information
1 parent
24d76dc
commit 40d6f41
Showing
18 changed files
with
390 additions
and
253 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
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
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
Oops, something went wrong.