how to use a chai module #1409
Unanswered
christophe-g
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
Trying out vitest - so far it looks and works really well. Thank you !
I am trying to use a chai module with viteset, without success.
For instance, how could I integrate https://open-wc.org/docs/testing/chai-a11y-axe/ so that expressions like
expect(el).to.be.accessible();
orassert.isAccessible(el);
are available in my test suite ?Including those this at the beginning of a test file fail:
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions