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
DOMException: Invalid selector, when parsing tailwindcss #939
Comments
@rinux55 Hello, can you provide a simple code address? |
@btea thanks a lot for picking this up. I've created a demo for you. https://stackblitz.com/edit/nuxt-starter-hgbacm?file=pages%2Findex.spec.ts Running |
#943 should have fixed this issue. |
#939@patch: Correct parsing of pseudo elements by selectors.
Thank you for reporting @rinux55! 🙂 Big thanks to @btea for your contribution 🌟 You can read more about the release here: |
I'm testing a nuxt 3 application with
vite
andnuxt-vitest
, which useshappy-dom
. When installing the@nuxtjs/tailwindcss
nuxt module, I'm getting the following error when assertingexpect().toBeVisible()
:I've narrowed it down to the
@nuxtjs/tailwindcss
module. Installing tailwind as is on a project does not give this error.I know it's a bit specific, but any help in the right direction would be greatly appreciated!
To Reproduce
Steps to reproduce the behavior:
@nuxtjs/nuxt
version 3@nuxtjs/tailwindcss
modulevitest
,nuxt-vitest
,jest-dom
,@testing-library/jest-dom
css:true
in the vitest config, so css will be parsedThe text was updated successfully, but these errors were encountered: