Skip to content

Commit

Permalink
Add compat testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Aug 18, 2024
1 parent bff3755 commit 4291f7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/issue-509/test.ts → test/compat/test.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { assertStringIncludes } from "jsr:@std/assert";

Deno.test("issue #509", async () => {
Deno.test("HeadlessChrome", async () => {
const res = await fetch("http://localhost:8080/react@18.2.0", {
headers: {
"User-Agent": "HeadlessChrome/109",
},
});
const text = await res.text();
assertStringIncludes(text, "/es2023/");
assertStringIncludes(text, "/es2021/");
});

0 comments on commit 4291f7f

Please sign in to comment.