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

Tests #5

Open
16 of 22 tasks
lifeart opened this issue Dec 30, 2023 · 1 comment
Open
16 of 22 tasks

Tests #5

lifeart opened this issue Dec 30, 2023 · 1 comment

Comments

@lifeart
Copy link
Owner

lifeart commented Dec 30, 2023

Add tests for:

  • VM (attribute updated, property updated, textContent updated, class merged) attributes test #37
  • component, helper, modifier helpers tests Adding helper, modifier, component helpers #85
  • each inside each
  • DOM builders (we could create known html tags)
  • Runtime (tbd)
  • Cell (cell instances should work as primitives in templates (boolean,number,string)), could be used as attribute/property and condition (for if) and remains reactive cell and merged cell tests #34
  • MergedCell should work as primitives in templates (boolean,number,string)), could be used as attribute/property and condition (for if) and remains reactive cell and merged cell tests #34
  • effect (function should re-execute if related fields changes) effect tests #32
  • modifier (it should run before document in dom and execute destructors if component is removed) modifier tests #33
  • formula (tbd) cell and merged cell tests #34
  • slots (if no yeild - no slots, default slot tests and multiple slots tests) slot tests #31
  • conditional slots (slot with same name could be in different if conditions, we need to check how it's working) more slots tests #35
  • @args (field types should match inputs - primitives, functions) args-tests #36
  • class-based component (tbd) args-tests #36
  • template-only component args-tests #36
  • function based component (tbd)
  • components with root node (tbd)
  • components without root node (tbd)
  • if opcode
  • each opcode (list is rendered, and keeping in sync ordering of items)
  • hbs compiler (tbd)
  • in-element should remove anchor comment if updated/removed (now it's appending to old one)
@lifeart
Copy link
Owner Author

lifeart commented Feb 3, 2024

image

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

No branches or pull requests

1 participant