Skip to content

Error about loading dynamic modules when running tests. #82

Answered by damontgomery
damontgomery asked this question in Q&A
Discussion options

You must be logged in to vote

You may swap the import from import { ifDefined } from 'lit/directives/if-defined'; to import { ifDefined } from 'lit/directives/if-defined.js';. Not the .js.

See https://stackoverflow.com/a/67520135

Replies: 1 comment

Comment options

damontgomery
Jul 27, 2021
Collaborator Author

You must be logged in to vote
0 replies
Answer selected by damontgomery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant