fix(core): update

This commit is contained in:
2020-07-08 00:11:16 +00:00
parent a6dd8de0db
commit ed8c8312c2
5 changed files with 20 additions and 23 deletions

View File

@@ -83,6 +83,11 @@ export class Tap {
* starts the test evaluation
*/
public async start(optionsArg?: { throwOnError: boolean }) {
// lets set the tapbundle promise
const smartenvInstance = new plugins.smartenv.Smartenv();
smartenvInstance.isBrowser ? globalThis.tapbundleDeferred = plugins.smartpromise.defer() : null;
// lets continue with running the tests
const promiseArray: Array<Promise<any>> = [];
// safeguard against empty test array