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

Fix: 'karma-mocha' should run both browser bundles #4663

Merged
merged 1 commit into from Jun 23, 2021

Conversation

juergba
Copy link
Member

@juergba juergba commented Jun 20, 2021

Description

Some days ago I added a second browser bundle to our package:

  • mocha.js transpiled to ES5
  • new: mocha-es2018.js without transpilation

When customizing our browser tests I ended up with executing the karma tests twice, using the same bundle mocha.js. So the new mocha-es2018 currently remains untested.

Description of the Change

I could not find a way to convince karma-mocha to run a browser bundle other than named mocha.js.
Therefore I rename the two bundles accordingly before launching karma.

@juergba juergba self-assigned this Jun 20, 2021
@juergba juergba added area: browser browser-specific qa labels Jun 20, 2021
@juergba juergba requested a review from a team June 20, 2021 15:52
@juergba juergba merged commit f033ff1 into master Jun 23, 2021
@juergba juergba deleted the juergba/karma-mocha branch June 23, 2021 13:47
@juergba juergba added the semver-patch implementation requires increase of "patch" version number; "bug fixes" label Jun 23, 2021
@juergba juergba added this to the next milestone Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: browser browser-specific semver-patch implementation requires increase of "patch" version number; "bug fixes"
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant