Skip to content

Commit 3fd5059

Browse files
chore: check error length
1 parent dc7ed4b commit 3fd5059

File tree

1 file changed

+1
-1
lines changed
  • packages/@lwc/integration-karma/test-hydration/attributes/global-parent-overrides

1 file changed

+1
-1
lines changed

packages/@lwc/integration-karma/test-hydration/attributes/global-parent-overrides/index.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export default {
1313
// For static and dynamic
1414
for (let i = 0; i < 2; i++) {
1515
expect(divs[0].textContent).toBe(process.env.ENGINE_SERVER);
16-
expect(divs[1].textContent).toBe(consoleCalls.warn);
16+
expect(divs[1].textContent).toBe(consoleCalls.warn.length);
1717
expect(divs[2].textContent).toBe('hidden: true');
1818
expect(divs[3].textContent).toBe('spellcheck: true');
1919
expect(divs[4].textContent).toBe('tabindex: -1');

0 commit comments

Comments
 (0)