@brillout/test-e2e 0.5.29 → 0.5.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Logs/isTolerateError.d.ts +2 -2
- package/dist/Logs/isTolerateError.js +5 -11
- package/dist/Logs.d.ts +2 -2
- package/dist/Logs.js +26 -32
- package/dist/TIMEOUTS.js +6 -9
- package/dist/autoRetry.js +5 -8
- package/dist/buildTs.js +10 -16
- package/dist/chai/JestChaiExpect.d.ts +1 -1
- package/dist/chai/JestChaiExpect.js +1 -5
- package/dist/chai/expect.d.ts +1 -1
- package/dist/chai/expect.js +4 -30
- package/dist/chai/types.d.ts +4 -4
- package/dist/chai/types.js +1 -2
- package/dist/cli.js +13 -18
- package/dist/editFile.js +15 -21
- package/dist/fetch.d.ts +2 -2
- package/dist/fetch.js +20 -16
- package/dist/findTestFiles.d.ts +1 -1
- package/dist/findTestFiles.js +6 -9
- package/dist/getBrowser.js +9 -12
- package/dist/getConfig.d.ts +1 -1
- package/dist/getConfig.js +14 -20
- package/dist/getCurrentTest.d.ts +1 -1
- package/dist/getCurrentTest.js +15 -21
- package/dist/index.d.ts +13 -13
- package/dist/index.js +14 -38
- package/dist/logError.js +3 -6
- package/dist/logSection.js +5 -11
- package/dist/logTestStatus.js +19 -25
- package/dist/page.js +3 -6
- package/dist/parallel-ci.js +8 -14
- package/dist/run.js +42 -45
- package/dist/runAll.d.ts +1 -1
- package/dist/runAll.js +61 -67
- package/dist/runCommandThatTerminates.js +6 -9
- package/dist/skip.js +3 -6
- package/dist/test.js +5 -8
- package/dist/testScreenshotFixture.js +42 -45
- package/dist/utils/assert.js +23 -26
- package/dist/utils/cliOptions.js +9 -12
- package/dist/utils/findFiles.d.ts +1 -1
- package/dist/utils/findFiles.js +13 -19
- package/dist/utils/fsWindowsBugWorkaround.js +2 -5
- package/dist/utils/genPromise.js +1 -5
- package/dist/utils/hasProp.d.ts +15 -0
- package/dist/utils/hasProp.js +50 -0
- package/dist/utils/humanizeTime.js +1 -4
- package/dist/utils/isArray.d.ts +1 -0
- package/dist/utils/isArray.js +4 -0
- package/dist/utils/isArrayOfStrings.d.ts +2 -0
- package/dist/utils/isArrayOfStrings.js +5 -0
- package/dist/utils/isCallable.js +1 -5
- package/dist/utils/isMinNodeVersion.js +4 -7
- package/dist/utils/isObject.d.ts +1 -1
- package/dist/utils/isObject.js +1 -5
- package/dist/utils/isObjectOfStrings.d.ts +2 -0
- package/dist/utils/isObjectOfStrings.js +5 -0
- package/dist/utils/isTTY.js +1 -4
- package/dist/utils/logProgress.js +4 -7
- package/dist/utils/parseCli.js +3 -6
- package/dist/utils/platform.js +6 -9
- package/dist/utils/projectInfo.js +1 -4
- package/dist/utils/runCommand.js +7 -10
- package/dist/utils/runCommandLongRunning.js +40 -32
- package/dist/utils/runCommandShortLived.js +7 -10
- package/dist/utils/sleep.js +1 -4
- package/dist/utils/trackLogs.d.ts +1 -1
- package/dist/utils/trackLogs.js +1 -1
- package/dist/utils.d.ts +16 -0
- package/dist/utils.js +16 -0
- package/package.json +3 -2
- package/dist/utils/index.d.ts +0 -15
- package/dist/utils/index.js +0 -31
package/dist/utils.js
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from './utils/sleep.js';
|
|
2
|
+
export * from './utils/runCommand.js';
|
|
3
|
+
export * from './utils/runCommandShortLived.js';
|
|
4
|
+
export * from './utils/runCommandLongRunning.js';
|
|
5
|
+
export * from './utils/assert.js';
|
|
6
|
+
export * from './utils/humanizeTime.js';
|
|
7
|
+
export * from './utils/isTTY.js';
|
|
8
|
+
export * from './utils/findFiles.js';
|
|
9
|
+
export * from './utils/logProgress.js';
|
|
10
|
+
export * from './utils/cliOptions.js';
|
|
11
|
+
export * from './utils/fsWindowsBugWorkaround.js';
|
|
12
|
+
export * from './utils/isObject.js';
|
|
13
|
+
export * from './utils/isCallable.js';
|
|
14
|
+
export * from './utils/platform.js';
|
|
15
|
+
export * from './utils/isMinNodeVersion.js';
|
|
16
|
+
export * from './utils/hasProp.js';
|
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brillout/test-e2e",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.30",
|
|
4
4
|
"bin": "./bin.js",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
|
+
"type": "module",
|
|
6
7
|
"scripts": {
|
|
7
8
|
"// === Dev ===": "",
|
|
8
9
|
"dev": "tsc --watch --project ./tsconfig.dev.json",
|
|
@@ -43,7 +44,7 @@
|
|
|
43
44
|
"@types/pngjs": "^6.0.1",
|
|
44
45
|
"@types/source-map-support": "^0.5.6",
|
|
45
46
|
"prettier": "^3.2.5",
|
|
46
|
-
"typescript": "^4.
|
|
47
|
+
"typescript": "^5.4.5"
|
|
47
48
|
},
|
|
48
49
|
"packageManager": "pnpm@8.15.1",
|
|
49
50
|
"repository": "github:brillout/test-e2e",
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export * from './sleep';
|
|
2
|
-
export * from './runCommand';
|
|
3
|
-
export * from './runCommandShortLived';
|
|
4
|
-
export * from './runCommandLongRunning';
|
|
5
|
-
export * from './assert';
|
|
6
|
-
export * from './humanizeTime';
|
|
7
|
-
export * from './isTTY';
|
|
8
|
-
export * from './findFiles';
|
|
9
|
-
export * from './logProgress';
|
|
10
|
-
export * from './cliOptions';
|
|
11
|
-
export * from './fsWindowsBugWorkaround';
|
|
12
|
-
export * from './isObject';
|
|
13
|
-
export * from './isCallable';
|
|
14
|
-
export * from './platform';
|
|
15
|
-
export * from './isMinNodeVersion';
|
package/dist/utils/index.js
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./sleep"), exports);
|
|
18
|
-
__exportStar(require("./runCommand"), exports);
|
|
19
|
-
__exportStar(require("./runCommandShortLived"), exports);
|
|
20
|
-
__exportStar(require("./runCommandLongRunning"), exports);
|
|
21
|
-
__exportStar(require("./assert"), exports);
|
|
22
|
-
__exportStar(require("./humanizeTime"), exports);
|
|
23
|
-
__exportStar(require("./isTTY"), exports);
|
|
24
|
-
__exportStar(require("./findFiles"), exports);
|
|
25
|
-
__exportStar(require("./logProgress"), exports);
|
|
26
|
-
__exportStar(require("./cliOptions"), exports);
|
|
27
|
-
__exportStar(require("./fsWindowsBugWorkaround"), exports);
|
|
28
|
-
__exportStar(require("./isObject"), exports);
|
|
29
|
-
__exportStar(require("./isCallable"), exports);
|
|
30
|
-
__exportStar(require("./platform"), exports);
|
|
31
|
-
__exportStar(require("./isMinNodeVersion"), exports);
|