Skip to content

Commit

Permalink
Add test for literal-only static function.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Feb 21, 2019
1 parent bf05e38 commit 4c65db8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/unit/property-effects.html
Original file line number Diff line number Diff line change
Expand Up @@ -1924,12 +1924,14 @@
_template: html`
<div>[[hostProp]]</div> <!-- host prop -->
<div>[[noDeps()]]</div> <!-- method with no deps -->
<div>[[literalDeps('hi')]]</div> <!-- method with literal deps -->
<div>[[dynamicFn()]]</div> <!-- dynamic function with no deps -->
<div>[[dynamicFnWithDep(hostProp)]]</div> <!-- dynamic function with deps -->
<template is="dom-repeat" items="[0]" as="instProp">
<div>[[instProp]]</div> <!-- instance prop -->
<div>[[hostProp]]</div> <!-- nested host prop -->
<div>[[noDeps()]]</div> <!-- nested method with no deps -->
<div>[[literalDeps('hi')]]</div> <!-- method with literal deps -->
<div>[[dynamicFn()]]</div> <!-- dynamic function with no deps -->
<div>[[dynamicFnWithDep(hostProp)]]</div> <!-- dynamic function with deps -->
</template>
Expand Down

0 comments on commit 4c65db8

Please sign in to comment.