-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Fix regression in x-axis interaction mode #4762
Conversation
test/specs/core.interaction.tests.js
Outdated
@@ -192,6 +192,47 @@ describe('Core.Interaction', function() { | |||
}); | |||
}); | |||
|
|||
describe('x-axis mode', function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would move this unit test in global.deprecations.tests.js
, under version 2.4.0
test/specs/core.interaction.tests.js
Outdated
labels: ['Point 1', 'Point 2', 'Point 3'] | ||
}; | ||
|
||
beforeEach(function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think data
and acquireChart
can go directly in the it(
until we need to refactor for another test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, will change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Travis is randomly failing on Firefox, no valuable info in the log unfortunately.
Resolves #4747