Skip to content

Prevent Jasmine tests from redirecting in dev mode - #6546

Merged
rlucioni merged 1 commit into
masterfrom
renzo/fix-jasmine-tests
Jan 11, 2015
Merged

Prevent Jasmine tests from redirecting in dev mode#6546
rlucioni merged 1 commit into
masterfrom
renzo/fix-jasmine-tests

Conversation

@rlucioni

Copy link
Copy Markdown
Contributor

Also prevents Jasmine from attempting to load deleted templates.

@andy-armstrong this should fix the redirection issues you noticed on Friday and filed as ECOM-885. It doesn't completely clean out the console errors we saw, but it does remove several.

@wedaly or @AlasdairSwan, could one of you also review this? Andy was having issues with the Jasmine tests appearing to redirect while running in dev mode; this was caused by history.pushState not being mocked out.

EDIT: An instructor dashboard test related to coupons, added on Friday by @muhhshoaib, is still failing.

Also prevent Jasmine from attempting to load deleted templates
@wedaly

wedaly commented Jan 11, 2015

Copy link
Copy Markdown
Contributor

👍

@andy-armstrong

Copy link
Copy Markdown
Contributor

👍 Thanks for addressing this so quickly, @rlucioni.

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.

3 participants