Skip to content

Commit 4c65db8

Browse files
committed
Add test for literal-only static function.
1 parent bf05e38 commit 4c65db8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/unit/property-effects.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1924,12 +1924,14 @@
19241924
_template: html`
19251925
<div>[[hostProp]]</div> <!-- host prop -->
19261926
<div>[[noDeps()]]</div> <!-- method with no deps -->
1927+
<div>[[literalDeps('hi')]]</div> <!-- method with literal deps -->
19271928
<div>[[dynamicFn()]]</div> <!-- dynamic function with no deps -->
19281929
<div>[[dynamicFnWithDep(hostProp)]]</div> <!-- dynamic function with deps -->
19291930
<template is="dom-repeat" items="[0]" as="instProp">
19301931
<div>[[instProp]]</div> <!-- instance prop -->
19311932
<div>[[hostProp]]</div> <!-- nested host prop -->
19321933
<div>[[noDeps()]]</div> <!-- nested method with no deps -->
1934+
<div>[[literalDeps('hi')]]</div> <!-- method with literal deps -->
19331935
<div>[[dynamicFn()]]</div> <!-- dynamic function with no deps -->
19341936
<div>[[dynamicFnWithDep(hostProp)]]</div> <!-- dynamic function with deps -->
19351937
</template>

0 commit comments

Comments
 (0)