Skip to content

Commit

Permalink
Fix tinymce tests (#1383)
Browse files Browse the repository at this point in the history
* yarn rebuild lock file.

* maint(pat tinymce): Fix failing tests due to missing css.escape polyfill for jsdom.

* yarn install.
  • Loading branch information
thet committed May 24, 2024
1 parent 01ca324 commit c8cec08
Show file tree
Hide file tree
Showing 3 changed files with 1,327 additions and 1,245 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
"@11ty/eleventy-plugin-syntaxhighlight": "^4.2.0",
"@patternslib/dev": "^3.5.3",
"@types/sinon": "^10.0.20",
"css.escape": "^1.5.1",
"npm-run-all": "^4.1.5",
"rimraf": "^4.1.3",
"sinon": "^15.2.0"
Expand Down
3 changes: 3 additions & 0 deletions src/setup-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ dom.is_visible = (el) => {

// Attach datatables to jQuery, as in tests it is not done by just importing.
window.dt = require("datatables.net")();

// Import the css.escape polyfill for jsdom.
import "css.escape";
Loading

0 comments on commit c8cec08

Please sign in to comment.