Skip to content

Commit

Permalink
spec/text-editor-component: linter/test var fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robobenklein committed Jan 23, 2020
1 parent f9f6f32 commit 5b6a4f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec/text-editor-component-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,7 @@ describe('TextEditorComponent', () => {
scrollSensitivity
});
// stub in place for Event.preventDefault()
const eventPreventDefaultStub = function () {}
const eventPreventDefaultStub = function() {};

{
const expectedScrollTop = 20 * (scrollSensitivity / 100);
Expand Down Expand Up @@ -1753,6 +1753,8 @@ describe('TextEditorComponent', () => {
width: 50,
scrollSensitivity
});
// stub in place for Event.preventDefault()
const eventPreventDefaultStub = function() {};

component.props.platform = 'linux';
{
Expand Down

0 comments on commit 5b6a4f6

Please sign in to comment.