mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-01 07:45:22 +03:00
15 lines
480 B
TypeScript
15 lines
480 B
TypeScript
context("dev server with base path", () => {
|
|
it("navigating with a link successfully resolves data sources", () => {
|
|
// cy.visit("/test/response-headers");
|
|
// cy
|
|
// cy.contains("Root page").click();
|
|
// cy.contains("This is the index page.");
|
|
cy.request("GET", "/test/response-headers/content.dat").then((res) => {
|
|
expect(res.headers).to.include({
|
|
"x-powered-by": "my-framework",
|
|
});
|
|
expect(res.status).to.eq(200);
|
|
});
|
|
});
|
|
});
|