Skip to content

Commit

Permalink
fix ts-check error in scroll.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
cacieprins committed Jan 10, 2025
1 parent 6cedebc commit c6c9d28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/driver/src/cy/commands/actions/scroll.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ export default (Commands, Cypress, cy, state) => {
const scrollIntoView = () => {
return new Promise((resolve, reject) => {
// scroll our axes
// @ts-expect-error - scrollTo does not define a 'done()' key on its config object.
return $(options.$parent).scrollTo(options.$el, {
axis: options.axis,
easing: options.easing,
Expand Down

0 comments on commit c6c9d28

Please sign in to comment.