Skip to content

Commit 3e27c50

Browse files
committed
chore: revert test
1 parent 5a04bbc commit 3e27c50

File tree

1 file changed

+2
-1
lines changed
  • packages/@lwc/integration-karma/test/component/LightningElement

1 file changed

+2
-1
lines changed

packages/@lwc/integration-karma/test/component/LightningElement/index.spec.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ it("[W-6981076] shouldn't throw when a component with an invalid child in unmoun
8181
expect(() => document.body.removeChild(elm)).not.toThrow();
8282
});
8383

84-
it('should fail when the constructor returns something other than an instance of itself', () => {
84+
// TODO [W-17769475]: Restore this test when we can reliably detect Locker enabled
85+
xit('should fail when the constructor returns something other than an instance of itself', () => {
8586
expect(() => {
8687
createElement('x-returning-bad', { is: ReturningBad });
8788
}).toThrowError(

0 commit comments

Comments
 (0)