Skip to content

fix(jasmine): allow cjs specs + add cjs/mjs tests in jasmine_node_test - #3401

Merged
alexeagle merged 1 commit into
bazel-contrib:stablefrom
jstuder-gh:jasmine_cjs_spec_and_tests
Apr 8, 2022
Merged

fix(jasmine): allow cjs specs + add cjs/mjs tests in jasmine_node_test#3401
alexeagle merged 1 commit into
bazel-contrib:stablefrom
jstuder-gh:jasmine_cjs_spec_and_tests

Conversation

@jstuder-gh

Copy link
Copy Markdown
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature (please, look at the "Scope of the project" section in the README.md file)
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

When using jasmine_node_test, currently spec/test files ending with the .cjs extension are not recognized.

Issue Number:
#3400

What is the new behavior?

Spec/test files ending in the .cjs extension will be recognized

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

This PR also adds tests for whether .mjs are recognized in jasmine_node_test

@jstuder-gh
jstuder-gh force-pushed the jasmine_cjs_spec_and_tests branch from 95d62c6 to 1f2b43b Compare April 8, 2022 22:18
@jstuder-gh

Copy link
Copy Markdown
Contributor Author

Fixed formatting (via buildifier) and repushed.

@alexeagle alexeagle left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks!

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

Successfully merging this pull request may close these issues.

2 participants