Skip to content

task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS-WITH-ESM#3178

Draft
jeanpierrefouche-ukhsa wants to merge 17 commits into
mainfrom
task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS-WITH-ESM
Draft

task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS-WITH-ESM#3178
jeanpierrefouche-ukhsa wants to merge 17 commits into
mainfrom
task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS-WITH-ESM

Conversation

@jeanpierrefouche-ukhsa

Copy link
Copy Markdown
  • task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS initial
  • task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS updates
  • task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS uhd support
  • task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS support html report file click from terminal
  • task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS updates
  • task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS Run jest-ci tests
  • task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS use full sha for github action ref
  • task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS-WITH-ESM Add ESM support
  • task/CDD-3279-BE-SPIKE-investigate-tooling-for-javascript-testing-CMS-WITH-ESM support for html code coverage reporting support for test:ci with experimental vm for ESM support

Description

This PR includes the following:

Fixes #CDD-<ISSUE_ID>


Type of change

Please select the options that are relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Tech debt item (this is focused solely on addressing any relevant technical debt)

Checklist:

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests at the right levels to prove my change is effective
  • I have added screenshots or screen grabs where appropriate
  • I have added docstrings in the correct style (google)

…-WITH-ESM

support for html code coverage reporting
support for test:ci with experimental vm for ESM support
…-WITH-ESM

fix github runner and ESM config
no longer using experimental vm!
…-WITH-ESM

github workflow action now runs npm install
…-WITH-ESM

fix action: shell property is required
Comment thread .github/actions/install-cache/action.yml
Comment thread .github/workflows/actions.yml
- name: Unit tests coverage comment
# must use the full sha1 to satisfy Sonar.
# we are using v1 - full sha1 below.
uses: ukhsa-internal/jest-coverage-comment-action@35f93b7420c590576a1484506b85578f87a6bb4a

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Adds a test-run summary to the PR

Comment thread auth_content/static/js/permission_set.js
Comment thread auth_content/static/js/permission_set.js
Comment thread auth_content/static/js/permission_set.js
Comment thread auth_content/static/js/permission_set.spec.js
Comment thread auth_content/static/js/permission_set.spec.js
Comment thread auth_content/static/js/permission_set.spec.js
Comment thread auth_content/wagtail_hooks.py
Comment thread scripts/_tests.sh
Comment thread scripts/_tests.sh
Comment thread scripts/_tests.sh
Comment thread .gitignore
Comment thread babel.config.cjs

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Babel config is necessary to get the ESM integration working.

Comment thread jest.config.js
Comment thread jest.config.js
Comment thread jest.config.js
Comment thread jest.config.js
Comment thread jest.config.js
Comment thread jest.config.js
Comment thread jest.config.js
Comment thread jest.config.js
Comment thread jest.config.js
Comment thread jest.config.js
Comment thread jest.setup.js
Comment thread package.json
Comment thread README.md
Comment thread README.md
…-WITH-ESM

update README with explanation about why we need node
@sonarqubecloud

sonarqubecloud Bot commented May 8, 2026

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants