mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +08:00
Handle promise in smoke test.
This commit is contained in:
@ -230,7 +230,9 @@ const path = require('path');
|
||||
});
|
||||
}
|
||||
|
||||
await browser.close();
|
||||
await exec("close browser", () => {
|
||||
return browser.close();
|
||||
});
|
||||
|
||||
console.log("ALL PASSED");
|
||||
})();
|
||||
|
Reference in New Issue
Block a user