Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/tests/smoke/run/stdlib-run-version.test.ts
12925 views
1
/*
2
* stdlib-run-version.test.ts
3
*
4
* Copyright (C) 2022 Posit Software, PBC
5
*
6
*/
7
8
import { execProcess } from "../../../src/core/process.ts";
9
import { assert } from "testing/asserts";
10
import { unitTest } from "../../test.ts";
11
import { isWindows } from "../../../src/deno_ral/platform.ts";
12
13
unitTest("stdlib-run-version", async () => {
14
const result = await execProcess({
15
cmd: "quarto",
16
args: [
17
"run",
18
"docs/run/test-stdlib.ts",
19
],
20
});
21
console.log({result})
22
assert(result.success);
23
}, {
24
ignore: isWindows,
25
});
26
27