-
-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Repeater / templating / tests cleanup (#203)
* chore(tests): add utility for getting all property descriptors from a prototype chain * test(create-element): add tests for creating PotentialRenderable based on tag * test(create-element): add tests for creating PotentialRenderable based on type * feat(potential-renderable): autodetect when build is required * refactor(repeat): use templateController decorator and clean everything up * chore(repeat): add default type * test(repeat): start reworking the repeater tests * wip * fix(repeat): properly hook into attach/detach lifecycles fix(repeat): synchronously bind child views perf(repeat): basic utilization for indexMap to reduce unnecessary processing chore(repeat): cleanup and try to improvate clarity a bit test(repeat): improve test coverage and cleanup redundant tests * chore(jit): fix repeater tests * test(collection-observer): enable/disable observation at start of test * test(repeat): add binding assertions * test(if): improve if/else test coverage * chore(repeat): make the view loops a bit saner * test(all): remove .only * test(repeat): add more batched assign+mutate tests * test(repeat): add assertions that items mutations are batched but instance mutations are not * test(templating-resources): add some initial integration tests for repeater and if/else * chore(test): remove .only * fix(repeat): use the correct lifecycle api for attach/detach * fix(lifecycle): fix task variable shadowing issue test(lifecycle): improve test coverage * chore(all): enable no-shadowed-variable tslint rule * chore(template): move CompiledTemplate to template.ts * chore(template): move noViewTemplate to template.ts * chore(rendering-engine): fix linting errors * feat(render-context): throw more informative errors when the context is not prepared yet test(compiled-template): improve test coverage * test(view-factory): improve test coverage wrt caching * test(view-factory): cleanup/add extra tests * test(custom-element): improve decorator test coverage * fix(view): check nextSibling instead of previousSibling in mount() * fix(view): validate renderLocation and ensure $nodes.lastChild exists on mount test(view): initial setup for test combinations chore(test): add extra type params to cartesianJoinFactory * test(view): improve test coverage * test(custom-element): add preliminary projector tests
- Loading branch information
1 parent
5971d36
commit f296d04
Showing
27 changed files
with
3,440 additions
and
943 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.