@brillout/test-e2e 0.1.10 → 0.1.12
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/cli.js +5 -0
- package/dist/setup.js +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -26,6 +26,11 @@ function initSourceMap() {
|
|
|
26
26
|
const prefix = utils_1.fsWindowsBugWorkaroundPrefix;
|
|
27
27
|
if (source.startsWith(prefix)) {
|
|
28
28
|
source = source.slice(prefix.length);
|
|
29
|
+
if (process.platform == 'win32') {
|
|
30
|
+
(0, utils_1.assert)(source.startsWith('/'));
|
|
31
|
+
source = source.slice(1);
|
|
32
|
+
source = source.split('/').join('\\');
|
|
33
|
+
}
|
|
29
34
|
}
|
|
30
35
|
let sourceMap = buildTs_1.sourceMaps[source];
|
|
31
36
|
if (sourceMap) {
|
package/dist/setup.js
CHANGED
|
@@ -27,8 +27,8 @@ Object.defineProperty(exports, "editFile", { enumerable: true, get: function ()
|
|
|
27
27
|
Object.defineProperty(exports, "editFileRevert", { enumerable: true, get: function () { return editFile_2.editFileRevert; } });
|
|
28
28
|
const TIMEOUT_NPM_SCRIPT = 30 * 1000 * (!isGithubAction() ? 1 : isLinux() ? 1 : isWindows() ? 5 : 4);
|
|
29
29
|
const TIMEOUT_TEST_FUNCTION = 60 * 1000 * (!isGithubAction() ? 1 : isWindows() ? 5 : 3);
|
|
30
|
-
const TIMEOUT_AUTORETRY = 10 * 1000 * (!isGithubAction() || isLinux() ? 1 : 20); // TODO reduce `20`
|
|
31
30
|
const TIMEOUT_PROCESS_TERMINATION = 10 * 1000 * (!isGithubAction() ? 1 : isLinux() ? 1 : 4);
|
|
31
|
+
const TIMEOUT_AUTORETRY = TIMEOUT_TEST_FUNCTION / 2;
|
|
32
32
|
const TIMEOUT_PLAYWRIGHT = TIMEOUT_TEST_FUNCTION / 2;
|
|
33
33
|
function skip(reason) {
|
|
34
34
|
const testInfo = (0, getCurrentTest_1.getCurrentTest)();
|