Skip to content
This repository was archived by the owner on Dec 12, 2025. It is now read-only.

Migrate tests from Jasmine 1.3.1 to Jasmine 2.3.4#369

Merged
nicksay merged 1 commit intoyoutube:masterfrom
nicksay:upgrade-jasmine
Sep 28, 2015
Merged

Migrate tests from Jasmine 1.3.1 to Jasmine 2.3.4#369
nicksay merged 1 commit intoyoutube:masterfrom
nicksay:upgrade-jasmine

Conversation

@nicksay
Copy link
Contributor

@nicksay nicksay commented Sep 28, 2015

  • Upgrade bower package and adjust symlinks
  • Use new test runner for Jasmine 2
  • Update assertion syntax throughout tests for new API
  • Update mock values throughout tests for new API
  • Update custom matchers for new API
  • Fix a couple tests for complex object equality round-tripping through JSON
  • Disable one test that is now failing; will be fixed in another change

Closes #364

Copy link
Member

Choose a reason for hiding this comment

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

consider using "xit" to disable the test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

@PhilHarnish
Copy link
Member

LGTM

- Upgrade bower package and adjust symlinks - Use new test runner for Jasmine 2 - Update assertion syntax throughout tests for new API - Update mock values throughout tests for new API - Update custom matchers for new API - Fix a couple tests for complex object equality round-tripping through JSON - Disable one test that is now failing; will be fixed in another change Closes youtube#364
nicksay added a commit that referenced this pull request Sep 28, 2015
Migrate tests from Jasmine 1.3.1 to Jasmine 2.3.4
@nicksay nicksay merged commit 05d8a6e into youtube:master Sep 28, 2015
@nicksay nicksay deleted the upgrade-jasmine branch September 28, 2015 16:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

3 participants