Update tests to use most recent jest and supporting libraries

This commit is contained in:
Ryan Ahearn
2022-10-27 11:12:39 -04:00
parent 98b772f959
commit bb2d57b27b
14 changed files with 1080 additions and 109 deletions

View File

@@ -13,12 +13,11 @@ describe('Enhanced textbox', () => {
let input;
let textarea;
let backgroundEl;
const stylesheet = document.createElement('style');
beforeAll(() => {
// set some default styling
const stylesheet = document.createElement('style');
stylesheet.innerHTML = ".textbox-highlight-textbox { padding: 2px; width: 576px; border-width: 1px; }";
stylesheet.innerHTML += "textarea.textbox-highlight-textbox { height: 224px; }";