Skip to content

Commit

Permalink
Moved to test folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Torgeir Pedersen Cook committed Mar 13, 2017
1 parent 2912384 commit 060f624
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {mount} from 'enzyme';
import {assert} from 'chai';
import React from 'react';
import SuggestionItem from './suggestion-item';
import SuggestionItem from '../suggestion-item';
import sinon from 'sinon';
import './test/setup';
import './setup';

function item() {
return {header: 'header'};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import { shallow, mount } from 'enzyme';
import { assert } from 'chai';
import sinon from 'sinon';
import React from 'react';
import SuggestionList from './suggestion-list';
import SuggestionListContainer from './suggestion-list-container';
import './test/setup';
import SuggestionList from '../suggestion-list';
import SuggestionListContainer from '../suggestion-list-container';
import './setup';

function suggestions() {
return [
Expand All @@ -29,7 +29,8 @@ function propsSuggestionList(_suggestions = suggestions()) {
renderSuggestion,
renderNoSuggestion,
refHighlightedSuggestion: () => {},
onKeyDown: () => {}
onKeyDown: () => {},
id : 'id'
};
}

Expand Down

0 comments on commit 060f624

Please sign in to comment.