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

Changes tests to use karma instead of mocha #55

Merged
merged 4 commits into from
Feb 5, 2015
Merged

Changes tests to use karma instead of mocha #55

merged 4 commits into from
Feb 5, 2015

Conversation

mairatma
Copy link
Contributor

@mairatma mairatma commented Feb 5, 2015

No description provided.

@eduardolundgren
Copy link
Contributor

Just started reviewing :)

:octocat: Sent from GH.

This converts all existing test files to run through karma, except these:
(1) Tests for `html` directory -> These tests rely on fetching files, which can't be done through karma.
(2) Tests for `webchannel` and `net` directories. These require some fixture files that are being requested through a `require` call.

A follow up commit will change these to work on karma appropriately as well.
Running them through PhantomJS.

PhantomJS currently doesn't support classList add/remove with multiple arguments, so I've changed our code to pass one at a time for now. Later we can see what we'll do about PhantomJS.
@eduardolundgren eduardolundgren merged commit 273f9f6 into metal:master Feb 5, 2015
@eduardolundgren
Copy link
Contributor

Thank you, pull request merged!

:octocat: Sent from GH.

@mairatma mairatma deleted the karma branch February 16, 2015 14:58
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