Skip to content

Commit

Permalink
Fix html-to-react testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ije committed Jun 6, 2023
1 parent 6ae221d commit 58553ca
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/html-to-react/react.test.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { assert } from "https://deno.land/[email protected]/testing/asserts.ts";

import React from "http://localhost:8080/react@18?dev";
import { renderToString } from "http://localhost:8080/react-dom@18/server";
import { Parser } from "http://localhost:8080/html-to-react?dev&deps=react@18";
import React from "http://localhost:8080/react@18.2.0";
import { renderToString } from "http://localhost:8080/react-dom@18.2.0/server";
import { Parser } from "http://localhost:8080/html-to-react@1.5.0?deps=react@18.2.0";

Deno.test("html-to-react", async () => {
Deno.test("html-to-react", () => {
const h = new Parser();
const App = () => {
return h.parse(`<h1>Hi :)</h1>`);
Expand Down

0 comments on commit 58553ca

Please sign in to comment.