We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is there a way to test if a component got some local class in my own app tests? Suppose i have a component like this:
<div local-class="container {{if isLoaded 'loaded'}}"> test </div>
How can i implement a test that check if loaded class is in place?
loaded
The text was updated successfully, but these errors were encountered:
@brunomacf
I have started testing this condition by importing the styles object directly from the components module css.
styles
import styles from 'my-app-name/components/my-component/styles.css'; assert.dom('.' + styles['loaded']).exists();
It would be nice if the styles object had something like a toSelector() function.
toSelector()
Sorry, something went wrong.
No branches or pull requests
Is there a way to test if a component got some local class in my own app tests? Suppose i have a component like this:
How can i implement a test that check if
loaded
class is in place?The text was updated successfully, but these errors were encountered: