Skip to content

Commit

Permalink
Merge pull request #76 from vordgi/get-75
Browse files Browse the repository at this point in the history
get-75 use react canary in tests
  • Loading branch information
vordgi authored May 18, 2024
2 parents 8104d91 + 47b6dc6 commit e5b931f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 8 deletions.
1 change: 0 additions & 1 deletion .github/workflows/auto-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:

- name: Test package general
run: |
pnpm install next@canary
pnpm playwright install
pnpm build
pnpm test
Expand Down
6 changes: 3 additions & 3 deletions tests/base/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
},
"dependencies": {
"@nimpl/getters": "link:../../package",
"next": "latest",
"react": "latest",
"react-dom": "latest"
"next": "canary",
"react": "canary",
"react-dom": "canary"
},
"devDependencies": {
"@playwright/test": "^1.40.1",
Expand Down
20 changes: 16 additions & 4 deletions tests/base/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"lib": [
"dom",
"dom.iterable",
"esnext"
],
"allowJs": true,
"skipLibCheck": true,
"strict": false,
Expand All @@ -17,8 +21,16 @@
"name": "next"
}
],
"strictNullChecks": true
"strictNullChecks": true,
"target": "ES2017"
},
"include": ["next-env.d.ts", ".next/types/**/*.ts", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
"include": [
"next-env.d.ts",
".next/types/**/*.ts",
"**/*.ts",
"**/*.tsx"
],
"exclude": [
"node_modules"
]
}

0 comments on commit e5b931f

Please sign in to comment.