docs: port over to TailwindCSS (#2058)

This commit is contained in:
Marvin Hagemeister
2023-11-22 11:12:21 +01:00
committed by GitHub
parent f105f19005
commit bb035ae8da
26 changed files with 145 additions and 145 deletions
-1
View File
@@ -207,7 +207,6 @@ export async function withPageName(
});
try {
await delay(100);
const browser = await puppeteer.launch({ args: ["--no-sandbox"] });
try {
+4 -2
View File
@@ -1,8 +1,10 @@
import { waitForText, withPageName } from "$fresh/tests/test_utils.ts";
import { runBuild, waitForText, withPageName } from "../test_utils.ts";
Deno.test("www - docs navigation", async () => {
await runBuild("./www/dev.ts");
await withPageName("./www/main.ts", async (page, address) => {
await page.goto(`${address}`, { waitUntil: "networkidle2" });
await page.goto(`${address}`);
await page.click(`a[href="/docs"]`);
await waitForText(page, "h1", "Introduction");