Skip to content


Here are 381 public repositories matching this topic...

LarsDenBakker commented Sep 15, 2020

The semantic dom diff plugin uses some global variables like __mocha_context__ and __snapshot__ which are only available in a karma mocha context. When it's user in other test runners, or karma without mocha, it crashes with an unhelpful message.

We should check for these variables, and throw a helpful error to the user that explains this plugin can only be used in Karma.

bennypowers commented Sep 30, 2020

The generator currently outputs TypeScript projects only. It should have an option to output JavaScript projects.

This could be accomplished without duplicating code by the following steps

  1. If the TypeScript option is selected, continue as normal
  2. If the JavaScript option is selected, run all the same steps as the TypeScript generator, but add the following steps afterwards:
    1. Run

Improve this page

Add a description, image, and links to the lit-element topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the lit-element topic, visit your repo's landing page and select "manage topics."

Learn more