Skip to content

Commit

Permalink
fix(render): Wrong describes for renderAsync's tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmfern committed Apr 4, 2024
1 parent 71f0efc commit 8b8df81
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/render/src/render-async-edge.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Template } from "./utils/template";
import { Preview } from "./utils/preview";
import { renderAsync } from "./render-async";

describe("render on the edge", () => {
describe("renderAsync on the edge", () => {
it("converts a React component into HTML with Next 14 error stubs", async () => {
vi.mock("react-dom/server", async () => {
const ReactDOMServer =
Expand Down
2 changes: 1 addition & 1 deletion packages/render/src/render-async-node.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Template } from "./utils/template";
import { Preview } from "./utils/preview";
import { renderAsync } from "./render-async";

describe("render on node environments", () => {
describe("renderAsync on node environments", () => {
it("converts a React component into HTML with Next 14 error stubs", async () => {
vi.mock("react-dom/server", async () => {
const ReactDOMServer =
Expand Down
2 changes: 1 addition & 1 deletion packages/render/src/render-async-web.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Template } from "./utils/template";
import { Preview } from "./utils/preview";
import { renderAsync } from "./render-async";

describe("render on the browser environment", () => {
describe("renderAsync on the browser environment", () => {
beforeEach(() => {
vi.mock(
"react-dom/server",
Expand Down

0 comments on commit 8b8df81

Please sign in to comment.