Turn off display after testing

This commit is contained in:
Caleb James DeLisle 2017-12-21 11:06:53 +01:00
parent 81de5d861c
commit f81cfb178b

View file

@ -77,5 +77,9 @@ run('npm', ['install'], () => {
}).nThen((waitFor) => {
run('npm', ['run', 'fresh'], ()=>{});
run('node', ['./TestSelenium.js'], waitFor());
}).nThen((waitFor) => {
if (process.platform === 'darwin') {
run('bash', ['-c', 'pmset displaysleepnow'], waitFor());
}
}).nThen(killAll);
});