Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Test on Attempted Push With No Changes #873

Open
moriarty83 opened this issue Nov 1, 2022 · 0 comments
Open

Failing Test on Attempted Push With No Changes #873

moriarty83 opened this issue Nov 1, 2022 · 0 comments

Comments

@moriarty83
Copy link

Some work I was doing was failing one of the commit tests and it was code I didn't change. So I made a fresh clone of the repo, made a change (just added added a comment) and when I went to push the change up it failed ` RUNS test/unit/specs/Datepicker/inline.spec.js
● Datepicker.vue set by timestamp › can parse unix timestamp

expect(received).toEqual(expected) // deep equality

Expected: 29
Received: 28

  251 |     expect(wrapper.vm.selectedDate.getFullYear()).toEqual(2018)
  252 |     expect(wrapper.vm.selectedDate.getMonth()).toEqual(0)
> 253 |     expect(wrapper.vm.selectedDate.getDate()).toEqual(29)
      |                                               ^
  254 |   })
  255 | })
  256 | 

  at Object.toEqual (test/unit/specs/Datepicker/Datepicker.spec.js:253:47)
  at processTicksAndRejections (node:internal/process/task_queues:96:5)`

I haven't had a chance to look at the test yet but it seems that it has something to do with checking for leap years and is failing or the test is written incorrectly but it is does seem to be failing this test without changes to the current codebase. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant