Skip to content

Commit

Permalink
Bump ESBuild to try fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Oct 17, 2024
1 parent 17ea486 commit 6aff468
Show file tree
Hide file tree
Showing 3 changed files with 243 additions and 223 deletions.
2 changes: 1 addition & 1 deletion packages/docs/src/components/sidenav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const AccordionButton = (props: {
onClick: EventHandler<MouseEvent<HTMLButtonElement>>
}) => {
const transform = props.open ? 'rotate(-180 8 8)' : 'rotate(0 8 8)'
const disabled = props.pathname ? props.pathname.includes(props.href) : false
const disabled = props.pathname ? props.pathname === props.href : false

return (
<button
Expand Down
6 changes: 3 additions & 3 deletions packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"build-and-serve-docs": "cd ../.. && pnpm run --filter docs build && pnpm run --filter docs serve"
},
"optionalDependencies": {
"@bahmutov/cypress-esbuild-preprocessor": "^2.1.2",
"@percy/cli": "^1.28.2",
"@bahmutov/cypress-esbuild-preprocessor": "^2.2.3",
"@percy/cli": "^1.30.1",
"@percy/cypress": "^3.1.1",
"@testing-library/cypress": "^8.0.2",
"cypress": "10.4.0",
"esbuild": "^0.15.6",
"esbuild": "^0.24.0",
"wait-on": "^6.0.1"
}
}
Loading

0 comments on commit 6aff468

Please sign in to comment.