Compare commits

...

6 Commits

Author SHA1 Message Date
6fa151f933 5.0.3 2022-03-24 13:17:20 +01:00
f846b91378 fix(core): update 2022-03-24 13:17:20 +01:00
a0840ee9f4 5.0.2 2022-03-14 13:17:55 +01:00
041534f363 fix(core): update 2022-03-14 13:17:54 +01:00
c89362ba8a 5.0.1 2022-03-14 12:56:17 +01:00
f07879d2c1 fix(core): update 2022-03-14 12:56:17 +01:00
3 changed files with 1116 additions and 322 deletions

1420
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,14 @@
{
"name": "@pushrocks/tapbundle",
"private": false,
"version": "5.0.0",
"version": "5.0.3",
"description": "tap bundled for tapbuffer",
"main": "dist_ts/index.js",
"typings": "dist_ts/index.d.ts",
"type": "module",
"scripts": {
"test": "(tstest test/)",
"build": "(tsbuild --web)"
"build": "(tsbuild --web --allowimplicitany)"
},
"repository": {
"type": "git",
@ -23,16 +23,16 @@
"dependencies": {
"@open-wc/testing-helpers": "^2.1.2",
"@pushrocks/smartdelay": "^2.0.13",
"@pushrocks/smartenv": "^4.0.16",
"@pushrocks/smartexpect": "^1.0.12",
"@pushrocks/smartenv": "^5.0.0",
"@pushrocks/smartexpect": "^1.0.13",
"@pushrocks/smartpromise": "^3.1.7",
"@pushrocks/smarttime": "^3.0.45"
},
"devDependencies": {
"@gitzone/tsbuild": "^2.1.48",
"@gitzone/tsbuild": "^2.1.60",
"@gitzone/tsrun": "^1.2.31",
"@gitzone/tstest": "^1.0.66",
"@types/node": "^17.0.18",
"@gitzone/tstest": "^1.0.69",
"@types/node": "^17.0.23",
"randomstring": "^1.2.2",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0"

View File

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