@argos-ci/cypress 5.0.0 → 5.0.1
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/support.js +1 -1
- package/dist/task.cjs +1 -1
- package/dist/task.js +1 -1
- package/package.json +2 -2
package/dist/support.js
CHANGED
package/dist/task.cjs
CHANGED
|
@@ -63,7 +63,7 @@ function registerArgosTask(on, config, options) {
|
|
|
63
63
|
return { path: details.path };
|
|
64
64
|
}
|
|
65
65
|
const argosScreenshotsDir = await getScreenshotsDirectory();
|
|
66
|
-
if (details.name
|
|
66
|
+
if (details.name?.startsWith(NAME_PREFIX)) {
|
|
67
67
|
const newPath2 = (0, import_node_path.join)(
|
|
68
68
|
argosScreenshotsDir,
|
|
69
69
|
details.name.slice(NAME_PREFIX.length) + (0, import_node_path.extname)(details.path)
|
package/dist/task.js
CHANGED
|
@@ -29,7 +29,7 @@ function registerArgosTask(on, config, options) {
|
|
|
29
29
|
return { path: details.path };
|
|
30
30
|
}
|
|
31
31
|
const argosScreenshotsDir = await getScreenshotsDirectory();
|
|
32
|
-
if (details.name
|
|
32
|
+
if (details.name?.startsWith(NAME_PREFIX)) {
|
|
33
33
|
const newPath2 = join(
|
|
34
34
|
argosScreenshotsDir,
|
|
35
35
|
details.name.slice(NAME_PREFIX.length) + extname(details.path)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@argos-ci/cypress",
|
|
3
3
|
"description": "Cypress SDK for visual testing with Argos.",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.1",
|
|
5
5
|
"author": "Smooth Code",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"check-format": "prettier --check --ignore-unknown --ignore-path=../../.gitignore --ignore-path=../../.prettierignore .",
|
|
68
68
|
"lint": "eslint ."
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "1504eec02534235dc749f470150c37fc3beac1c0"
|
|
71
71
|
}
|