Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade #1334

Merged
merged 3 commits into from
Jul 30, 2023
Merged

Upgrade #1334

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const config = require("@patternslib/dev/jest.config.js");

config.setupFilesAfterEnv.push(path.resolve(__dirname, "./src/setup-tests.js"));
config.transformIgnorePatterns = [
"/node_modules/(?!@patternslib/)(?!@plone/)(?!preact/)(?!screenfull/)(?!bootstrap/)(?!datatable/).+\\.[t|j]sx?$",
"/node_modules/(?!@patternslib/)(?!@plone/)(?!preact/)(?!screenfull/)(?!sinon/)(?!bootstrap/)(?!datatable/).+\\.[t|j]sx?$",
];

module.exports = config;
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@11ty/eleventy-upgrade-help": "2",
"@patternslib/pat-code-editor": "4.0.1",
"@patternslib/patternslib": "^9.9.4",
"@patternslib/patternslib": "^9.9.5",
"backbone": "1.4.1",
"backbone.paginator": "2.0.8",
"bootstrap": "5.3.1",
Expand All @@ -34,7 +34,7 @@
"datatables.net-select-bs5": "1.4.0",
"dropzone": "4.3.0",
"jqtree": "1.7.0",
"jquery": "^3.6.4",
"jquery": "^3.7.0",
petschki marked this conversation as resolved.
Show resolved Hide resolved
"jquery-form": "4.3.0",
"jquery.browser": "0.1.0",
"js-cookie": "^3.0.5",
Expand All @@ -48,18 +48,18 @@
"@11ty/eleventy": "^2.0.1",
"@11ty/eleventy-navigation": "^0.3.5",
"@11ty/eleventy-plugin-syntaxhighlight": "^4.2.0",
"@patternslib/dev": "^3.3.5",
"@patternslib/dev": "^3.4.0",
"@types/sinon": "^10.0.14",
"npm-run-all": "^4.1.5",
"rimraf": "^4.1.3",
"sinon": "^15.0.4"
"sinon": "^15.2.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Turned out, that this sinon version has to be in transformIgnorePattern in jest config. Now tests are green again.

},
"resolutions": {
"@patternslib/patternslib": "^9.9.4",
"@patternslib/patternslib": "^9.9.5",
"backbone": "1.4.1",
"datatables.net": "<1.13",
"datatables.net-bs5": "<1.13",
"jquery": "3.6.4",
"jquery": "3.7.0",
"nwsapi": "2.2.2",
"underscore": "1.13.6"
},
Expand Down
Loading