Skip to content
New issue

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

LitElement conversion part 2: src and unit tests #134

Closed
web-padawan opened this issue Mar 12, 2020 · 1 comment
Closed

LitElement conversion part 2: src and unit tests #134

web-padawan opened this issue Mar 12, 2020 · 1 comment
Assignees
Labels
next LitElement based version issue

Comments

@web-padawan
Copy link
Member

Config tweaks

  1. Remove npm run test:visual from .travis.yml

  2. Remove theme from lint:js npm script (ESLint)

Convert src

Convert src files to LitElement using this structure:

  • vaadin-split-layout-css.ts - default styles

  • vaadin-split-layout-base.ts - base class (extend VaadinElement)

  • vaadin-split-layout-mixin.ts - mixin containing component logic

  • vaadin-split-layout.ts - custom element definition

Convert tests

Convert unit tests in test/unit folder. Use the test helpers:

  • @vadin/vaadin-components-dev-dependencies/testing.js

  • @vadin/vaadin-components-dev-dependencies/keys.js

Coverage

@web-padawan web-padawan added the next LitElement based version issue label Mar 12, 2020
@web-padawan web-padawan self-assigned this Mar 18, 2020
@web-padawan
Copy link
Member Author

Done by #139

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
next LitElement based version issue
Projects
None yet
Development

No branches or pull requests

1 participant