Skip to content

Commit

Permalink
chore(examples): import installGlobals from package root in `blog-t…
Browse files Browse the repository at this point in the history
…utorial` example (#3440)
  • Loading branch information
MichaelDeBoey committed Jun 10, 2022
1 parent 1521386 commit 252ea6c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/blog-tutorial/cypress/support/create-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// as that new user.

import { parse } from "cookie";
import { installGlobals } from "@remix-run/node/globals";
import { installGlobals } from "@remix-run/node";
import { createUserSession } from "~/session.server";
import { createUser } from "~/models/user.server";

Expand Down
2 changes: 1 addition & 1 deletion examples/blog-tutorial/cypress/support/delete-user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// node --require esbuild-register ./cypress/support/delete-user.ts username@example.com
// and that user will get deleted

import { installGlobals } from "@remix-run/node/globals";
import { installGlobals } from "@remix-run/node";
import { prisma } from "~/db.server";

installGlobals();
Expand Down
2 changes: 1 addition & 1 deletion examples/blog-tutorial/test/setup-test-env.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { installGlobals } from "@remix-run/node/globals";
import { installGlobals } from "@remix-run/node";
import "@testing-library/jest-dom/extend-expect";

installGlobals();

0 comments on commit 252ea6c

Please sign in to comment.