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

Add unit tests #14

Open
danieldietrich opened this issue Feb 1, 2022 · 0 comments
Open

Add unit tests #14

danieldietrich opened this issue Feb 1, 2022 · 0 comments
Labels
⃝ medium-priority This can be solved later

Comments

@danieldietrich
Copy link
Owner

danieldietrich commented Feb 1, 2022

There are already many edge cases (and their combinations) to be tested

  • eager and lazy web-imports
  • cascaded web-components and web-imports
  • cyclic components and imports
  • absolute and relative imports (also bouncing between different servers)
  • Content-Security-Policy (CSP) regarding eval
  • creating user defined elements (without extending tags)
  • extending native elements
  • order of lifecycle method calls, especially on async initialization and when manually creating an element using document.createElement('my-elem') + adding attributes and properties before connecting the element to the live DOM
  • use no mode, mode open and mode closed
  • etc.
@danieldietrich danieldietrich added ⇧ high-priority This needs to be solved first ⃝ medium-priority This can be solved later and removed ⇧ high-priority This needs to be solved first labels Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⃝ medium-priority This can be solved later
Projects
None yet
Development

No branches or pull requests

1 participant