Im having problem with jest-test with vuetify. If Im running a testcase by it own I get one value for aria-owns. Example:
<div role="button" aria-haspopup="listbox" aria-expanded="false" aria-owns="list-8" class="v-input__slot">
Im using webstorm so I just update the snapshot directly. BUT when Im running all testcases with npm run test. The testcase received this HTML instead:
<div role="button" aria-haspopup="listbox" aria-expanded="false" aria-owns="list-27" class="v-input__slot">
As you see the id for the aria-owns has been changed. And I dont know how to fix this. I tried several clear and reset methods for jest, for example: jest.clearAllMocks() and jest.resetModules(), and so on but nothing works.
Please help.