mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
15 lines
381 B
TypeScript
15 lines
381 B
TypeScript
require("chromedriver");
|
|
import ChildProcess = require('child_process');
|
|
import Bluebird = require("bluebird");
|
|
|
|
const execAsync = Bluebird.promisify(ChildProcess.exec);
|
|
|
|
before(function() {
|
|
this.timeout(1000);
|
|
return execAsync("cp users_database.yml users_database.test.yml");
|
|
});
|
|
|
|
after(function() {
|
|
this.timeout(1000);
|
|
return execAsync("rm users_database.test.yml");
|
|
}); |