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

View File

@ -1,8 +1,9 @@
// pushrocks
import * as smartdelay from '@pushrocks/smartdelay';
import * as smartenv from '@pushrocks/smartenv';
import * as smartpromise from '@pushrocks/smartpromise';
export { smartdelay, smartpromise };
export { smartdelay, smartenv, smartpromise };
// third party
/* import * as leakage from 'leakage';