@cronn/lib-file-snapshots 0.6.0 → 0.7.0
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/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -214,7 +214,7 @@ import * as path from "path";
|
|
|
214
214
|
import fs from "fs";
|
|
215
215
|
var NEW_LINE_SEPARATOR = "\n";
|
|
216
216
|
function normalizeFileName(testName) {
|
|
217
|
-
return testName.replaceAll(/\+0/g, "0").replaceAll(/'([\w ]+)'/g, "$1").replaceAll(/[ .:']/g, "_").replaceAll(
|
|
217
|
+
return testName.replaceAll(/\+0/g, "0").replaceAll(/'([\w ]+)'/g, "$1").replaceAll(/[ .:']/g, "_").replaceAll(/[,$]/g, "");
|
|
218
218
|
}
|
|
219
219
|
function mkdirRecursive(path2) {
|
|
220
220
|
fs.mkdirSync(path2, { recursive: true });
|