We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e56f4d8 commit c5bd6a6Copy full SHA for c5bd6a6
src/fs/get_content.test.ts
@@ -4,14 +4,13 @@ import * as assert from "uvu/assert";
4
import { get_base_documentation } from "./get_content";
5
import * as path from "path";
6
7
+const repo = path.join(__dirname, "fixtures", "repo-1");
8
+
9
const get_docs = suite("get_base_documentation");
10
const get_pkg_docs = suite("get_package_docuementation");
11
12
get_docs("gets the api documentation correctly", async () => {
- const content = await get_base_documentation(
- "documentation",
13
- path.join(__dirname, "fixtures", "repo-1")
14
- );
+ const content = await get_base_documentation("documentation", repo);
15
16
assert.equal(content.api, [
17
["01-one.md", "file-one\n"],
0 commit comments