Skip to content

no more fail for async tests, only failTest #2918

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

Merged
merged 2 commits into from
Aug 17, 2018
Merged

Conversation

alexcjohnson
Copy link
Collaborator

@@ -2,7 +2,7 @@ var Plotly = require('@lib/index');
var createGraphDiv = require('../assets/create_graph_div');
var destroyGraphDiv = require('../assets/destroy_graph_div');
var textchartMock = require('@mocks/text_chart_arrays.json');
var fail = require('../assets/fail_test');
var failTest = require('../assets/fail_test');
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

FWIW there was only one actual bug caught in this change, download_test has one real Jasmine fail in it which we were overriding with our async version:

fail('undefined saveBlob');

which I guess would still show up as a test failure... it just wouldn't give the right message.

@alexcjohnson
Copy link
Collaborator Author

@etpinard do you want to use this PR, since it's all about tests, to play with the streamtube test failure? Or make a new one to sort that out?

@etpinard
Copy link
Contributor

do you want to use this PR, since it's all about tests, to play with the streamtube test failure?

Good idea! I'll push a few commits to this branch.

@etpinard
Copy link
Contributor

💃

@alexcjohnson alexcjohnson merged commit 18b12f2 into master Aug 17, 2018
@alexcjohnson alexcjohnson deleted the only-failTest branch August 17, 2018 19:53
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