-
Notifications
You must be signed in to change notification settings - Fork 522
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
Error using Jasmine 4.0 and jasmine_node_test #3289
Labels
Comments
10 tasks
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alan-agius4
added a commit
to alan-agius4/rules_nodejs
that referenced
this issue
Jan 26, 2022
…in version 4 With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes bazel-contrib#3289
alexeagle
pushed a commit
that referenced
this issue
Jan 26, 2022
…in version 4 (#3283) With this change we replace APIs that have been deprecated in version 4 and removed in version 4 ``` Jasmine#onComplete is deprecated. Instead of calling onComplete, set the Jasmine instance's exitOnCompletion property to false and use the promise returned from the execute method. ``` Also this addresses the breaking change in version 4 https://github.com/jasmine/jasmine/blob/main/release_notes/4.0.0.md#changes-that-affect-custom-reporters in a backward compatible manner. Closes #3289
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐞 bug report
Affected Rule
jasmine_node_test
Is this a regression?
No
Description
When using Jasmine 4.0 there is an error when executing jasmine_runner.js. The runner script is using the onComplete method which has been removed in 4.0. In addition the jasmine.Spec and jasmine.Suite identifiers used when gathering Specs for sharding are no longer accessible.
🔬 Minimal Reproduction
Upgrade jasmine and jasmine-core packages to 4.0.0. Then run jasmine tests.
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_nodejs version:
The text was updated successfully, but these errors were encountered: