Simplify build scripts and implement preliminary tests

This commit is contained in:
hensm
2018-06-11 03:42:04 +01:00
parent 7cb626841f
commit f20f96cf10
19 changed files with 6021 additions and 11 deletions

14
test/sharedDriver.js Normal file
View File

@@ -0,0 +1,14 @@
"use strict";
const { create, destroy } = require("./driver");
let driver;
module.exports = async () => {
if (!driver) {
driver = await create();
}
return driver;
};