Commit 8e7e27ce authored by Paul Slaughter's avatar Paul Slaughter

Fix typo in innerText jsdom shim

- This shim wasn't working because
  we were setting to `textConteXt` vs
  `textConteNt`
parent 1dea3fe9
...@@ -5,7 +5,7 @@ Object.defineProperty(global.Element.prototype, 'innerText', { ...@@ -5,7 +5,7 @@ Object.defineProperty(global.Element.prototype, 'innerText', {
return this.textContent; return this.textContent;
}, },
set(value) { set(value) {
this.textContext = value; this.textContent = value;
}, },
configurable: true, // make it so that it doesn't blow chunks on re-running tests with things like --watch configurable: true, // make it so that it doesn't blow chunks on re-running tests with things like --watch
}); });
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment