You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like some of our JS tests are failing. This was noticed as a part of #86 which made the JS tests to be executed via Github actions.
Test Suites: 5 failed, 2 passed, 7 total
Tests: 15 failed, 32 passed, 47 total
Snapshots: 0 total
Time: 4.843s
Ran all test suites.
This is likely outdated test setup, not necessarily broken functionality. We should consider working on this in the context of #47 which may change a lot of tests.
The whole test suite was disabled as it's very outdated. We need to re-enable it once the tests are updated. Example of dependency errors that occur:
● Test suite failed to run
Cannot find module 'babel-plugin-transform-object-rest-spread'
Require stack:
- /home/runner/work/silverstripe-versioned-snapshot-admin/silverstripe-versioned-snapshot-admin/node_modules/@babel/core/lib/config/files/plugins.js
- /home/runner/work/silverstripe-versioned-snapshot-admin/silverstripe-versioned-snapshot-admin/node_modules/@babel/core/lib/config/files/index.js
- /home/runner/work/silverstripe-versioned-snapshot-admin/silverstripe-versioned-snapshot-admin/node_modules/@babel/core/lib/index.js
- /home/runner/work/silverstripe-versioned-snapshot-admin/silverstripe-versioned-snapshot-admin/node_modules/jest-snapshot/build/InlineSnapshots.js
- Did you mean "@babel/transform-object-rest-spread"?
The text was updated successfully, but these errors were encountered:
Though note that that's a very hacky workaround, and results in testing how the components would work with react 16, not how they do work with react 18.
See PRs attached to silverstripe/silverstripe-admin#1419 and the discussion in that issue for how we tackled updating our jest tests for the supported modules.
Failing JS tests
Looks like some of our JS tests are failing. This was noticed as a part of #86 which made the JS tests to be executed via Github actions.
This is likely outdated test setup, not necessarily broken functionality. We should consider working on this in the context of #47 which may change a lot of tests.
The whole test suite was disabled as it's very outdated. We need to re-enable it once the tests are updated. Example of dependency errors that occur:
The text was updated successfully, but these errors were encountered: