Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ritz078 committed Apr 24, 2016
1 parent 1d21153 commit ab52c45
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion dist/client/handleShortCuts.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ function isModifierPressed(e) {
}

function handleShortCuts(e, syncedStore) {
console.log(e);
if (isModifierPressed(e) && e.keyCode === 80) {
e.preventDefault();
var newData = (0, _extends3.default)({}, syncedStore.getData());
Expand Down
6 changes: 3 additions & 3 deletions dist/client/ui/controls.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ var _react = require('react');

var _react2 = _interopRequireDefault(_react);

var _fuzzySearch = require('./fuzzySearch');
var _FuzzySearch = require('./FuzzySearch');

var _fuzzySearch2 = _interopRequireDefault(_fuzzySearch);
var _FuzzySearch2 = _interopRequireDefault(_FuzzySearch);

var _text_filter = require('./text_filter');

Expand Down Expand Up @@ -369,7 +369,7 @@ var StorybookControls = function (_React$Component) {
'✕'
)
),
_react2.default.createElement(_fuzzySearch2.default, {
_react2.default.createElement(_FuzzySearch2.default, {
list: this.formatStoryForSearch(),
options: options,
width: 430,
Expand Down
2 changes: 1 addition & 1 deletion src/client/ui/__tests__/fuzzySearch.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { describe, it } = global;
import { expect } from 'chai';
import { mount } from 'enzyme';
import React from 'react';
import FuzzySearch from '../fuzzySearch';
import FuzzySearch from '../FuzzySearch';

function noop() {
}
Expand Down
2 changes: 1 addition & 1 deletion src/client/ui/controls.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import FuzzySearch from './fuzzySearch';
import FuzzySearch from './FuzzySearch';
import TextFilter from './text_filter';
import ReactModal from 'react-modal';

Expand Down

0 comments on commit ab52c45

Please sign in to comment.