fix(core): update

This commit is contained in:
2021-12-10 17:34:06 +01:00
parent d1e46fd2a7
commit 33399126f7
6 changed files with 19246 additions and 3353 deletions

View File

@@ -78,7 +78,7 @@ export class Tap <T> {
// lets set the tapbundle promise
const smartenvInstance = new plugins.smartenv.Smartenv();
smartenvInstance.isBrowser
? (globalThis.tapbundleDeferred = plugins.smartpromise.defer())
? ((globalThis as any).tapbundleDeferred = plugins.smartpromise.defer())
: null;
// lets continue with running the tests
@@ -139,14 +139,14 @@ export class Tap <T> {
if (!smartenvInstance.isBrowser) process.exit(1);
}
if (smartenvInstance.isBrowser) {
globalThis.tapbundleDeferred.resolve();
(globalThis as any).tapbundleDeferred.resolve();
}
}
/**
* handle errors
*/
public threw(err) {
public threw(err: Error) {
console.log(err);
}
}