Skip to content

Commit

Permalink
temporarily comment out package installation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonstyle committed Apr 4, 2022
1 parent b4a6af5 commit cc97f5b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/smoke/render/render-pdf.test.ts
Expand Up @@ -22,6 +22,7 @@ testRender(docs("latexmk/make-index.Rmd"), "pdf", true);
testRender(docs("latexmk/make-index-custom.Rmd"), "pdf", true);

// Package installation tests
/*
testRender(docs("latexmk/all.Rmd"), "pdf", true, [], {
setup: async () => {
await ensurePackageRemoved("fontawesome5");
Expand All @@ -38,6 +39,7 @@ testRender(docs("latexmk/babel.Rmd"), "pdf", true, [], {
},
});
testRender(docs("latexmk/estopdf.Rmd"), "pdf", true, [], {
prereq: async () => {
const hasGhostscript = await which("gs") !== undefined;
Expand Down Expand Up @@ -66,6 +68,7 @@ testRender(docs("latexmk/make-index-custom.Rmd"), "pdf", true, [], {
},
});
*/
async function ensurePackageRemoved(pkg: string) {
try {
await removePackage(pkg);
Expand Down

0 comments on commit cc97f5b

Please sign in to comment.