Skip to content

Enable client tests#561

Merged
JayHuLBL merged 2 commits into
mainfrom
ag/560-client-tests
May 20, 2026
Merged

Enable client tests#561
JayHuLBL merged 2 commits into
mainfrom
ag/560-client-tests

Conversation

@AntoineGautier
Copy link
Copy Markdown
Collaborator

@AntoineGautier AntoineGautier commented May 15, 2026

Description

This is for #560.
(No change to source code.)

Client tests are now run: see https://github.com/lbl-srg/ctrl-flow-dev/actions/runs/25918141088/job/76179867017?pr=561#step:5:1

The fix has two parts:

1. **`transformIgnorePatterns`** — overrides the default "ignore all of
`node_modules`" rule, telling Jest it *should* transform uuid package.
2. **`babel-jest` transform + `babel.config.js`** — provides the actual
transformer for `.js` files, using `@babel/preset-env` targeting the
current Node version to convert ESM to CommonJS that Jest can consume.
@JayHuLBL JayHuLBL merged commit 9658ac7 into main May 20, 2026
2 checks passed
@JayHuLBL JayHuLBL deleted the ag/560-client-tests branch May 20, 2026 17:36
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