Skip to content

Commit

Permalink
test(remix): Update integration tests to Remix 1.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
onurtemizkan committed Jun 8, 2023
1 parent b877c10 commit dede0b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/remix/test/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
"start": "remix-serve build"
},
"dependencies": {
"@remix-run/express": "1.9.0",
"@remix-run/node": "1.9.0",
"@remix-run/react": "1.9.0",
"@remix-run/serve": "1.9.0",
"@remix-run/express": "1.17.0",
"@remix-run/node": "1.17.0",
"@remix-run/react": "1.17.0",
"@remix-run/serve": "1.17.0",
"@sentry/remix": "file:../..",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@remix-run/dev": "1.9.0",
"@remix-run/dev": "1.17.0",
"@types/react": "^17.0.47",
"@types/react-dom": "^17.0.17",
"nock": "^13.1.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { test, expect, Page } from '@playwright/test';

async function getRouteData(page: Page): Promise<any> {
return page.evaluate('window.__remixContext.routeData').catch(err => {
return page.evaluate('window.__remixContext.state.loaderData').catch(err => {
console.warn(err);

return {};
Expand Down

0 comments on commit dede0b2

Please sign in to comment.