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

Remove use of deprecated QUnit.load() #184

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Remove use of deprecated QUnit.load() #184

merged 1 commit into from
Feb 9, 2024

Conversation

Krinkle
Copy link
Collaborator

@Krinkle Krinkle commented Feb 9, 2024

QUnit 2.21.0 will be emitting a deprecation warning from QUnit.load.

Calling this method has not been needed for several years, since QUnit 2.1.1, released in 2017.
https://github.com/qunitjs/qunit/releases/tag/2.1.1

Also:

  • document how this works.
  • remove unused defaultConfig parameter. It is only ever used one way in src/, and tests didn't cover other input anyway. It now improves test coverage by covering the actual value instead of relying on tests passing the same as the real code.

QUnit 2.21.0 will be emitting a deprecation warning from QUnit.load.

Calling this method has not been needed for several years, since
QUnit 2.1.1, released in 2017.
https://github.com/qunitjs/qunit/releases/tag/2.1.1

Also:
* document how this works.
* remove unused `defaultConfig` parameter.
  It is only ever used one way in src/, and tests didn't cover
  other input anyway. It now improves test coverage by covering
  the actual value instead of relying on tests passing the same as
  the real code.
@Krinkle Krinkle merged commit 8fe30fb into master Feb 9, 2024
11 checks passed
@Krinkle Krinkle deleted the remove-load-call branch February 9, 2024 14:35
wmfgerrit pushed a commit to wikimedia/mediawiki that referenced this pull request Mar 4, 2024
Made redundant by karma-runner/karma-qunit#184.

Change-Id: If636ec52826c2bdcf1b6809e8ff18e34179cd71d
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.

None yet

1 participant