Skip to content

grade-school - Test suite failed to run #202

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

Closed
keiravillekode opened this issue May 6, 2025 · 3 comments
Closed

grade-school - Test suite failed to run #202

keiravillekode opened this issue May 6, 2025 · 3 comments

Comments

@keiravillekode
Copy link
Contributor

Reported in forum

Reproduced: When using the example solution, the online test runner reports

We received the following error when we ran your code:
  ● Test suite failed to run

    Cannot find module 'core-js/modules/es.array.push.js' from '../..<solution>/grade-school.spec.js'
@keiravillekode
Copy link
Contributor Author

I could create a new grade-school.spec.js from the canonical tests.

@atk
Copy link
Contributor

atk commented May 6, 2025

Doesn't help, I changed the spec today and had the same error. It seems the installation is done via cache and the cached download of core-js is malformed or broken. Maybe changing the whole exercise setup in a way that does not require core-js at all might be a solution. That would require getting rid of babel and jest.

#203

@keiravillekode
Copy link
Contributor Author

With #204 the error no longer occurs.

@atk atk closed this as completed May 8, 2025
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

No branches or pull requests

2 participants