Skip to content

Commit

Permalink
Enable v2_errorBoundary on integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Mar 9, 2023
1 parent 754d22e commit 01f58ed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 4 additions & 1 deletion integration/action-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ test.describe("actions", () => {

test.beforeAll(async () => {
fixture = await createFixture({
future: { v2_routeConvention: true },
future: {
v2_routeConvention: true,
v2_errorBoundary: true,
},
files: {
"app/routes/urlencoded.jsx": js`
import { Form, useActionData } from "@remix-run/react";
Expand Down
9 changes: 4 additions & 5 deletions integration/defer-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ test.describe("non-aborted", () => {

test.beforeAll(async () => {
fixture = await createFixture({
future: { v2_routeConvention: true },
////////////////////////////////////////////////////////////////////////////
// 💿 Next, add files to this object, just like files in a real app,
// `createFixture` will make an app and run your tests against it.
////////////////////////////////////////////////////////////////////////////
future: {
v2_routeConvention: true,
v2_errorBoundary: true,
},
files: {
"app/components/counter.tsx": js`
import { useState } from "react";
Expand Down
1 change: 1 addition & 0 deletions integration/hmr-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ let fixture = (options: { port: number; appServerPort: number }) => ({
},
unstable_tailwind: true,
v2_routeConvention: true,
v2_errorBoundary: true,
},
files: {
"package.json": json({
Expand Down

0 comments on commit 01f58ed

Please sign in to comment.