Error about loading dynamic modules when running tests. #82
Answered
by
damontgomery
damontgomery
asked this question in
Q&A
-
If you run the tests and get errors like:
When you are using |
Beta Was this translation helpful? Give feedback.
Answered by
damontgomery
Jul 27, 2021
Replies: 1 comment
-
You may swap the import from |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
damontgomery
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You may swap the import from
import { ifDefined } from 'lit/directives/if-defined';
toimport { ifDefined } from 'lit/directives/if-defined.js';
. Not the.js
.See https://stackoverflow.com/a/67520135