@alwaysmeticulous/cli 2.17.0 → 2.18.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/commands/replay/replay.command.d.ts +8 -2
- package/dist/commands/replay/replay.command.js +60 -83
- package/dist/commands/replay/utils/compute-and-save-diff.d.ts +15 -0
- package/dist/commands/replay/utils/compute-and-save-diff.js +46 -0
- package/dist/commands/run-all-tests/run-all-tests.command.js +13 -5
- package/dist/commands/screenshot-diff/screenshot-diff.command.d.ts +11 -11
- package/dist/commands/screenshot-diff/screenshot-diff.command.js +20 -17
- package/dist/config/config.types.d.ts +4 -0
- package/dist/deflake-tests/deflake-tests.handler.d.ts +2 -2
- package/dist/deflake-tests/deflake-tests.handler.js +8 -20
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -1
- package/dist/parallel-tests/messages.types.d.ts +2 -2
- package/dist/parallel-tests/parallel-tests.handler.d.ts +4 -10
- package/dist/parallel-tests/parallel-tests.handler.js +6 -20
- package/dist/parallel-tests/run-all-tests.d.ts +14 -5
- package/dist/parallel-tests/run-all-tests.js +57 -46
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/run-all-tests.utils.d.ts +4 -5
- package/dist/utils/run-all-tests.utils.js +4 -7
- package/package.json +2 -2
|
@@ -24,12 +24,9 @@ const sortResults = ({ results: unsorted_, testCases }) => {
|
|
|
24
24
|
return results;
|
|
25
25
|
};
|
|
26
26
|
exports.sortResults = sortResults;
|
|
27
|
-
const getTestsToRun = async ({ testCases,
|
|
28
|
-
const
|
|
29
|
-
|
|
30
|
-
cached.title === title));
|
|
31
|
-
const testCasesMissingBaseReplayId = uncachedTestCases.filter((testCase) => testCase.baseReplayId == null);
|
|
32
|
-
const testCasesWithBaseReplayId = uncachedTestCases.flatMap((testCase) => (testCase.baseReplayId == null ? [] : [testCase]));
|
|
27
|
+
const getTestsToRun = async ({ testCases, client, baseCommitSha, }) => {
|
|
28
|
+
const testCasesMissingBaseReplayId = testCases.filter((testCase) => testCase.baseReplayId == null);
|
|
29
|
+
const testCasesWithBaseReplayId = testCases.flatMap((testCase) => testCase.baseReplayId == null ? [] : [testCase]);
|
|
33
30
|
if (testCasesMissingBaseReplayId.length === 0) {
|
|
34
31
|
return testCasesWithBaseReplayId;
|
|
35
32
|
}
|
|
@@ -44,7 +41,7 @@ const getTestsToRun = async ({ testCases, cachedTestRunResults, client, baseComm
|
|
|
44
41
|
client,
|
|
45
42
|
baseCommitSha,
|
|
46
43
|
});
|
|
47
|
-
return
|
|
44
|
+
return testCases.flatMap((test) => {
|
|
48
45
|
if (test.baseReplayId != null) {
|
|
49
46
|
return [test];
|
|
50
47
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.18.1",
|
|
4
4
|
"description": "The Meticulous CLI",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"bugs": {
|
|
77
77
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "79d933cee7de321e17f984d7995e8ed4fd096688"
|
|
80
80
|
}
|