Skip to content

Commit

Permalink
fix: tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jonas-jonas committed Mar 5, 2024
1 parent f309dd6 commit 24584f5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
timeout-minutes: 5
strategy:
matrix:
node: [ '16', '17', '18' ]
node: [ '18', '19', '20' ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"format:check": "prettier --check ${npm_package_config_prettierTarget}",
"build": "rm -rf dist ui nextjs && rollup -c",
"prepublishOnly": "npm run build",
"test": "jest --detectOpenHandles"
"test": "jest --forceExit"
},
"devDependencies": {
"@babel/core": "7.23.9",
Expand Down
2 changes: 1 addition & 1 deletion src/next-edge/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ describe("NextJS handler", () => {
.expect(303)
.then((res) => {
const cookies = parse(splitCookiesString(res.headers["set-cookie"]))
cookies.forEach(({ domain, secure }) => {
cookies.forEach(({ domain }) => {
expect(domain).toEqual("example.bar")
})

Expand Down

0 comments on commit 24584f5

Please sign in to comment.