Skip to content

Commit ea68c2c

Browse files
committed
test: go back to old slug
1 parent 6e76f2c commit ea68c2c

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

test/main.js

+1-6
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
/* eslint-disable no-empty */
22

33
import { Writable, pipeline } from "node:stream";
4-
import os from "node:os";
54
import { stream } from "@eik/common";
6-
import uniqueSlug from "unique-slug";
5+
import slug from "unique-slug";
76
import tap from "tap";
87
import fs from "node:fs";
98

109
import Sink from "../lib/main.js";
1110

12-
function slug() {
13-
return `${os.platform()}-${process.versions.node.split(".")[0]}/${uniqueSlug()}`;
14-
}
15-
1611
// Ignore the value for "timestamp" field in the snapshots
1712
tap.cleanSnapshot = (s) => {
1813
const regex = /"timestamp": [0-9.]+,/gi;

0 commit comments

Comments
 (0)