Skip to content

Commit

Permalink
fix: obscure dynamic value test case triggering v2 failure (#5172)
Browse files Browse the repository at this point in the history
* fix: unlikely test triggering v2 failure

* fix: remove expected failre entry

* fix: remove consumption of function

* fix: updated expected file
  • Loading branch information
jhefferman-sfdc authored Jan 28, 2025
1 parent bb51f84 commit d4872a2
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,6 @@
<div data-foo="[object Object]">
[object Object]
</div>
<div data-foo="function whoWouldDoThis() {
return 'somebody, probably!';
}">
function whoWouldDoThis() {
return &#x27;somebody, probably!&#x27;;
}
</div>
<div data-foo="ooo eee, ooo ah ah, ting tang, walla walla, bing bang">
ooo eee, ooo ah ah, ting tang, walla walla, bing bang
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
<div data-foo={isSymbol}>{isSymbol}</div>
<div data-foo={isArray}>{isArray}</div>
<div data-foo={isObject}>{isObject}</div>
<div data-foo={isFunction}>{isFunction}</div>
<div data-foo={isString}>{isString}</div>
<div data-foo={isNumber}>{isNumber}</div>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ export default class extends LightningElement {
isSymbol = Symbol('yolo');
isArray = ['foo', 'bar'];
isObject = { foo: 'bar', baz: 'quux' };
isFunction = function whoWouldDoThis() {
return 'somebody, probably!';
};
isString = 'ooo eee, ooo ah ah, ting tang, walla walla, bing bang';
isNumber = 6.02214076e23;
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export const expectedFailures = new Set([
'attribute-global-html/as-component-prop/without-@api/index.js',
'exports/component-as-default/index.js',
'known-boolean-attributes/default-def-html-attributes/static-on-component/index.js',
'render-dynamic-value/index.js',
'wire/errors/throws-on-computed-key/index.js',
'wire/errors/throws-when-colliding-prop-then-method/index.js',
]);

0 comments on commit d4872a2

Please sign in to comment.