Commit a16e12d9 authored by Vitaly Slobodin's avatar Vitaly Slobodin

Merge branch 'pslt-fix-typo-in-inner-text-shim' into 'master'

Fix typo in innerText jsdom shim

See merge request gitlab-org/gitlab!64445
parents 4152c4d8 8e7e27ce
...@@ -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