mirror of https://github.com/keeweb/keeweb.git
closing browser in tests
This commit is contained in:
parent
69c38cbeca
commit
4d1cbe7f62
|
@ -32,6 +32,7 @@ module.exports = function(grunt) {
|
|||
console[out.method](...out.args);
|
||||
}
|
||||
if (result.done) {
|
||||
await browser.close();
|
||||
const { failures } = result.done;
|
||||
if (failures) {
|
||||
grunt.warn(`Failed ${failures} test${failures > 1 ? 's' : ''}.`);
|
||||
|
|
Loading…
Reference in New Issue