fix(core): update

This commit is contained in:
Philipp Kunz 2022-03-14 13:17:54 +01:00
parent c89362ba8a
commit 041534f363
3 changed files with 18 additions and 18 deletions

28
package-lock.json generated
View File

@ -12,14 +12,14 @@
"@open-wc/testing-helpers": "^2.1.2", "@open-wc/testing-helpers": "^2.1.2",
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^4.0.16", "@pushrocks/smartenv": "^4.0.16",
"@pushrocks/smartexpect": "^1.0.12", "@pushrocks/smartexpect": "^1.0.13",
"@pushrocks/smartpromise": "^3.1.7", "@pushrocks/smartpromise": "^3.1.7",
"@pushrocks/smarttime": "^3.0.45" "@pushrocks/smarttime": "^3.0.45"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.48", "@gitzone/tsbuild": "^2.1.48",
"@gitzone/tsrun": "^1.2.31", "@gitzone/tsrun": "^1.2.31",
"@gitzone/tstest": "^1.0.66", "@gitzone/tstest": "^1.0.67",
"@types/node": "^17.0.18", "@types/node": "^17.0.18",
"randomstring": "^1.2.2", "randomstring": "^1.2.2",
"tslint": "^6.1.3", "tslint": "^6.1.3",
@ -2131,9 +2131,9 @@
} }
}, },
"node_modules/@gitzone/tstest": { "node_modules/@gitzone/tstest": {
"version": "1.0.66", "version": "1.0.67",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftstest/-/tstest-1.0.66.tgz", "resolved": "https://verdaccio.lossless.one/@gitzone%2ftstest/-/tstest-1.0.67.tgz",
"integrity": "sha512-0BB+XdABrc9OjdWOsZlgWu4yJCJO0GCbPATWU9exVeZWw4h5z2Ty7EQjQvmbVQ/KCZMW5P/le53XhZIotKXn6w==", "integrity": "sha512-szaUuDa5RR4ErPObjB036ZKKNy35vEtpnANnbE1WFuqazjUlBN2GniOMWY8SULDryefrWCyaIbDAOJjtk62vNw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@ -3694,9 +3694,9 @@
} }
}, },
"node_modules/@pushrocks/smartexpect": { "node_modules/@pushrocks/smartexpect": {
"version": "1.0.12", "version": "1.0.13",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpect/-/smartexpect-1.0.12.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpect/-/smartexpect-1.0.13.tgz",
"integrity": "sha512-uZJ5OPr3ei14/Ovs2JRmKd7WixR0XGVVREkJ5xIsxKhqU/nm2spUbVLYjNBaKxDGCHjTAmdq8AV5Ola8F3Ia7w==", "integrity": "sha512-5EucGOr1XCUJE68CyXJvMKRZX8Wqpek2LmgFyBNkmOvMWpBqlveYSwhu1GsIlYPDGaycDcB4Q/MZ5X3F3gwjOg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",
@ -12588,9 +12588,9 @@
} }
}, },
"@gitzone/tstest": { "@gitzone/tstest": {
"version": "1.0.66", "version": "1.0.67",
"resolved": "https://verdaccio.lossless.one/@gitzone%2ftstest/-/tstest-1.0.66.tgz", "resolved": "https://verdaccio.lossless.one/@gitzone%2ftstest/-/tstest-1.0.67.tgz",
"integrity": "sha512-0BB+XdABrc9OjdWOsZlgWu4yJCJO0GCbPATWU9exVeZWw4h5z2Ty7EQjQvmbVQ/KCZMW5P/le53XhZIotKXn6w==", "integrity": "sha512-szaUuDa5RR4ErPObjB036ZKKNy35vEtpnANnbE1WFuqazjUlBN2GniOMWY8SULDryefrWCyaIbDAOJjtk62vNw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@gitzone/tsbundle": "^1.0.91", "@gitzone/tsbundle": "^1.0.91",
@ -13637,9 +13637,9 @@
} }
}, },
"@pushrocks/smartexpect": { "@pushrocks/smartexpect": {
"version": "1.0.12", "version": "1.0.13",
"resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpect/-/smartexpect-1.0.12.tgz", "resolved": "https://verdaccio.lossless.one/@pushrocks%2fsmartexpect/-/smartexpect-1.0.13.tgz",
"integrity": "sha512-uZJ5OPr3ei14/Ovs2JRmKd7WixR0XGVVREkJ5xIsxKhqU/nm2spUbVLYjNBaKxDGCHjTAmdq8AV5Ola8F3Ia7w==", "integrity": "sha512-5EucGOr1XCUJE68CyXJvMKRZX8Wqpek2LmgFyBNkmOvMWpBqlveYSwhu1GsIlYPDGaycDcB4Q/MZ5X3F3gwjOg==",
"requires": { "requires": {
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartpromise": "^3.1.6", "@pushrocks/smartpromise": "^3.1.6",

View File

@ -24,14 +24,14 @@
"@open-wc/testing-helpers": "^2.1.2", "@open-wc/testing-helpers": "^2.1.2",
"@pushrocks/smartdelay": "^2.0.13", "@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^4.0.16", "@pushrocks/smartenv": "^4.0.16",
"@pushrocks/smartexpect": "^1.0.12", "@pushrocks/smartexpect": "^1.0.13",
"@pushrocks/smartpromise": "^3.1.7", "@pushrocks/smartpromise": "^3.1.7",
"@pushrocks/smarttime": "^3.0.45" "@pushrocks/smarttime": "^3.0.45"
}, },
"devDependencies": { "devDependencies": {
"@gitzone/tsbuild": "^2.1.48", "@gitzone/tsbuild": "^2.1.48",
"@gitzone/tsrun": "^1.2.31", "@gitzone/tsrun": "^1.2.31",
"@gitzone/tstest": "^1.0.66", "@gitzone/tstest": "^1.0.67",
"@types/node": "^17.0.18", "@types/node": "^17.0.18",
"randomstring": "^1.2.2", "randomstring": "^1.2.2",
"tslint": "^6.1.3", "tslint": "^6.1.3",

View File

@ -21,8 +21,8 @@ const test2 = tap.test('my second test', async (tools) => {
const test3 = tap.test( const test3 = tap.test(
'my third test -> test2 should take longer than test1 and endure at least 1000ms', 'my third test -> test2 should take longer than test1 and endure at least 1000ms',
async () => { async () => {
expect((await test1).hrtMeasurement.milliSeconds < (await test2).hrtMeasurement.milliSeconds).toBeTrue(); expect((await test1.testPromise).hrtMeasurement.milliSeconds < (await test2).hrtMeasurement.milliSeconds).toBeTrue();
expect((await test2).hrtMeasurement.milliSeconds > 10).toBeTrue(); expect((await test2.testPromise).hrtMeasurement.milliSeconds > 10).toBeTrue();
} }
); );