-
Notifications
You must be signed in to change notification settings - Fork 1
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
Chore/upgrade jest #1211
Chore/upgrade jest #1211
Conversation
0a2017d
to
7eadf08
Compare
- remove babel - use ts-jest preset
39c177e
to
33df7ff
Compare
33df7ff
to
cd72440
Compare
efe7585
to
7095718
Compare
7095718
to
a66b297
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok 👍🏻
@@ -56,6 +56,8 @@ jobs: | |||
- name: Run ${{ matrix.task }} | |||
# Run the task only if JS is affected. | |||
if: ${{ needs.what-is-hit.outputs.js == 'true' }} | |||
env: | |||
NODE_OPTIONS: '--max-old-space-size=4096' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
max-old-space-size
??? 😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From the docs
Sets the max memory size of V8's old memory section. As memory consumption approaches the limit, V8 will spend more time on garbage collection in an effort to free unused memory.
https://nodejs.org/api/cli.html#--max-old-space-sizesize-in-megabytes
No idea what is "old memory section" though…
import { getDomains, getPackages } from './config/workspaces'; | ||
import type { TsJestTransformerOptions } from 'ts-jest'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool 👍🏻
Fixes #1210