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

test: update tests to use qunit 2 assert format #4753

Merged
merged 3 commits into from
Nov 16, 2017
Merged

Conversation

brandonocasey
Copy link
Contributor

@brandonocasey brandonocasey commented Nov 16, 2017

Description

We cannot change the package name from qunitjs to qunit at this time as karma-qunit does not support qunit only the qunitjs package name.

See: karma-runner/karma-qunit#98

Previously we stopped using an updated qunit as it did not support ie8. This may still be the case and we may not want to update qunit here at all.

This only came up because I wanted to use Qunit.timeout in some sourceset tests, but it isn't supported pre v2.

@gkatsev
Copy link
Member

gkatsev commented Nov 16, 2017

Yup, still broken. Not sure why one of the travises passed.
Oh, it thought no changes were made...

Copy link
Member

@gkatsev gkatsev left a comment

Choose a reason for hiding this comment

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

If we revert the package-lock and package.json changes, we can pull in these changes.

test/index.html Outdated
<link rel="stylesheet" href="../build/temp/video-js.min.css">
</head>
<body>
<div id="qunit"></div>
<script src="../node_modules/qunitjs/qunit/qunit.js"></script>
<script src="../node_modules/qunit/qunit/qunit.js"></script>
Copy link
Member

Choose a reason for hiding this comment

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

should these urls be reverted as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes

@brandonocasey
Copy link
Contributor Author

ok everything regarding the version update/name change should be reverted now.

@gkatsev gkatsev changed the title test: update qunitjs to version 2, package now called qunit test: update tests to use qunit 2 assert format Nov 16, 2017
@gkatsev gkatsev merged commit 06641e8 into master Nov 16, 2017
@gkatsev gkatsev deleted the test/update-qunit branch November 16, 2017 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants