Closed acelaya closed 4 months ago
cli
4.9.1
Today I got dependabot PRs in a few repositories, to upgrade from v4.9.0 to v4.9.1, and they all fail with the same error.
With v4.9.0 everything works as expected.
When running tests, I get TypeError: run is not a function
TypeError: run is not a function
It happens just by updating to v4.9.1, and trying to import and then use the run function, but you can see how I use it here https://github.com/shlinkio/shlink-frontend-kit/blob/86ad2eb395d35d57225cb0e4527282435efa6955/test/__helpers__/accessibility.ts
run
You can see an example of the error here https://github.com/shlinkio/shlink-frontend-kit/actions/runs/9041997260/job/24848007149#step:5:59
Also, I'm not sure if it's related, but I use vite, vitest and react-testing-library
Just realized I created this issue in the wrong repository. Closing in favor of https://github.com/dequelabs/axe-core/issues/4458
Tracking in axe-core repo
Product
cli
Product Version
4.9.1
Latest Version
Issue Description
Expectation
Today I got dependabot PRs in a few repositories, to upgrade from v4.9.0 to v4.9.1, and they all fail with the same error.
With v4.9.0 everything works as expected.
Actual
When running tests, I get
TypeError: run is not a function
How to Reproduce
It happens just by updating to v4.9.1, and trying to import and then use the
run
function, but you can see how I use it here https://github.com/shlinkio/shlink-frontend-kit/blob/86ad2eb395d35d57225cb0e4527282435efa6955/test/__helpers__/accessibility.tsAdditional context
You can see an example of the error here https://github.com/shlinkio/shlink-frontend-kit/actions/runs/9041997260/job/24848007149#step:5:59
Also, I'm not sure if it's related, but I use vite, vitest and react-testing-library