@testomatio/reporter 2.1.3-beta.2-multi-links → 2.1.3-beta.3-multi-links
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/lib/data-storage.js +2 -1
- package/lib/utils/cli_utils.js +262144 -0
- package/package.json +1 -1
- package/src/data-storage.js +3 -1
package/package.json
CHANGED
package/src/data-storage.js
CHANGED
|
@@ -6,6 +6,8 @@ import { TESTOMAT_TMP_STORAGE_DIR } from './constants.js';
|
|
|
6
6
|
import { fileSystem, testRunnerHelper } from './utils/utils.js';
|
|
7
7
|
import crypto from 'crypto';
|
|
8
8
|
|
|
9
|
+
const startTime = Date.now();
|
|
10
|
+
|
|
9
11
|
const debug = createDebugMessages('@testomatio/reporter:storage');
|
|
10
12
|
class DataStorage {
|
|
11
13
|
static #instance;
|
|
@@ -193,7 +195,7 @@ function stringToMD5Hash(str) {
|
|
|
193
195
|
md5.update(str);
|
|
194
196
|
const hash = md5.digest('hex');
|
|
195
197
|
|
|
196
|
-
return hash
|
|
198
|
+
return `${startTime}_${hash}`;
|
|
197
199
|
}
|
|
198
200
|
|
|
199
201
|
export const dataStorage = DataStorage.getInstance();
|