Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
deps(jasmine): upgrade to the latest jasmine version 3.2
Browse files Browse the repository at this point in the history
- version @types/jasmine 3.3 requires a minimum of typescript 2.8

closes #5054
  • Loading branch information
cnishina committed Dec 16, 2018
1 parent 67b3dba commit 14e7b58
Show file tree
Hide file tree
Showing 5 changed files with 617 additions and 772 deletions.
4 changes: 2 additions & 2 deletions lib/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ export class Runner extends EventEmitter {

if (this.config_.restartBrowserBetweenTests) {
// TODO(sjelin): replace with warnings once `afterEach` support is required
let restartDriver = () => {
let restartDriver = async () => {
if (!this.frameworkUsesAfterEach) {
this.restartPromise = Promise.resolve(browser_.restart());
this.restartPromise = await browser_.restart();
}
};
this.on('testPass', restartDriver);
Expand Down
Loading

0 comments on commit 14e7b58

Please sign in to comment.