Skip to content
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

--require fails with runner.addRequires is not a function in 5.x #208

Closed
mattem opened this issue Jun 13, 2023 · 1 comment
Closed

--require fails with runner.addRequires is not a function in 5.x #208

mattem opened this issue Jun 13, 2023 · 1 comment

Comments

@mattem
Copy link

mattem commented Jun 13, 2023

When running with --require (as done in rules_jasmine for Bazel), the error runner.addRequires is not a function is thrown.

It seems this was renamed to addRequires_ here:

addRequires_(requires) {

But still called via addRequires here:

runner.addRequires(options.requires);

@sgravrock
Copy link
Member

This is fixed in 5.0.2.

This issue was closed.
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