/open-wc-typescript-karma-webpack

@open-wc setup with Typescript, LitElement and LitHTML + Haunted component examples, using Karma and Webpack to run tests.

Primary LanguageTypeScriptMIT LicenseMIT

<open-wc-typescript-karma-webpack>

minimal @open-wc setup with Typescript, LitElement and LitHTML + Haunted component examples, using Karma over webpack to run tests.

Working:

  • Typescript
  • Lit Element class component
  • Lit HTML + Haunted function component
  • Karma working with Webpack (single bundle for all tests), Chai and Mocha
  • Snapshot testing
  • Storybook