Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/tests/smoke/jupyter/issue-11990.test.ts
6468 views
1
/*
2
* issue-11990.test.ts
3
*
4
* https://github.com/quarto-dev/quarto-cli/issues/11990
5
*
6
* Copyright (C) 2025 Posit Software, PBC
7
*/
8
9
import { join } from "../../../src/deno_ral/path.ts";
10
import { docs, outputForInput } from "../../utils.ts";
11
import { noErrorsOrWarnings, ensureFileRegexMatches } from "../../verify.ts";
12
import { testRender } from "../render/render.ts";
13
14
const format = "html";
15
const input = docs(join("jupyter", "parameters", "issue-11990.qmd"));
16
const output = outputForInput(input, format);
17
18
testRender(input, format, false, [
19
noErrorsOrWarnings,
20
ensureFileRegexMatches(output.outputPath, [], [
21
"Injected Parameters"
22
]),
23
], {}, ["--no-execute-daemon", "--execute-param", "username:John"]);
24
25