@markedjs/testutils 9.1.0-2 → 9.1.0-3

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/get-tests.js +6 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@markedjs/testutils",
3
- "version": "9.1.0-2",
3
+ "version": "9.1.0-3",
4
4
  "description": "Test utilities for marked and marked extensions",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/src/get-tests.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { loadTests } from "./load-tests.js";
2
- import { resolvePath } from "./helpers.js";
2
+ import { resolve } from "node:path";
3
3
 
4
4
  /**
5
5
  * Get tests from a directory or file
@@ -26,11 +26,11 @@ export async function getTests(dirs) {
26
26
  */
27
27
  export async function getAllMarkedSpecTests() {
28
28
  const tests = await getTests([
29
- resolvePath("../node_modules/marked-repo/test/specs/commonmark"),
30
- resolvePath("../node_modules/marked-repo/test/specs/gfm"),
31
- resolvePath("../node_modules/marked-repo/test/specs/new"),
32
- resolvePath("../node_modules/marked-repo/test/specs/original"),
33
- resolvePath("../node_modules/marked-repo/test/specs/redos"),
29
+ resolve("./node_modules/marked-repo/test/specs/commonmark"),
30
+ resolve("./node_modules/marked-repo/test/specs/gfm"),
31
+ resolve("./node_modules/marked-repo/test/specs/new"),
32
+ resolve("./node_modules/marked-repo/test/specs/original"),
33
+ resolve("./node_modules/marked-repo/test/specs/redos"),
34
34
  ]);
35
35
 
36
36
  return {