We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6e76f2c commit ea68c2cCopy full SHA for ea68c2c
test/main.js
@@ -1,18 +1,13 @@
1
/* eslint-disable no-empty */
2
3
import { Writable, pipeline } from "node:stream";
4
-import os from "node:os";
5
import { stream } from "@eik/common";
6
-import uniqueSlug from "unique-slug";
+import slug from "unique-slug";
7
import tap from "tap";
8
import fs from "node:fs";
9
10
import Sink from "../lib/main.js";
11
12
-function slug() {
13
- return `${os.platform()}-${process.versions.node.split(".")[0]}/${uniqueSlug()}`;
14
-}
15
-
16
// Ignore the value for "timestamp" field in the snapshots
17
tap.cleanSnapshot = (s) => {
18
const regex = /"timestamp": [0-9.]+,/gi;
0 commit comments