Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

previews exported files, adds preview tests #1766

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix test
Fil committed Nov 19, 2024
commit 113285208f2415f3bd771a87440405ecb4721e47
2 changes: 1 addition & 1 deletion test/preview/preview-test.ts
Original file line number Diff line number Diff line change
@@ -51,7 +51,7 @@ describe("preview server", () => {
it("serves scripts from _observablehq/", async () => {
const res = await chai.request(testServerUrl).get("/_observablehq/stdlib.js");
expect(res).to.have.status(200);
expect(res.text).to.have.string("class Library");
expect(res.text).to.have.string("function FileAttachment");
});

it("serves local imports", async () => {