🛠 Tooling: 01-syntactic-sugar tests fail on Node 19 #260
Labels
accepting prs
Yes please, send a pull request! ♥
area: tooling
Changes around repository management, such as CI, formatting, linting, and releases.
Tooling Report Checklist
main
branch of the repository.Expected
I expected the tests to run and fail when I ran
npm run test -- 1
.Actual
I received this error:
So I went into
jest.config.js
.The original file is:
I changed it to:
After changing enableGlobally from true to false, my tests failed the way I expected them to. I then fixed the obvious issues in my code and the tests passed.
Additional Info
I'm not really sure how to document this finding. Again, it should only affect users with node v19. I didn't try this out, but it was recommended in a post.
My node version is v19.9.0.
The text was updated successfully, but these errors were encountered: