Skip to content

Commit

Permalink
Fix specs
Browse files Browse the repository at this point in the history
  • Loading branch information
EtienneLem committed Apr 30, 2018
1 parent 2e97b1f commit 22b37b6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion spec/emoji-index-spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import emojiIndex from '../src/utils/emoji-index'
import emojiIndex from '../src/utils/emoji-index/emoji-index'

describe('#emojiIndex', () => {
describe('search', function() {
Expand Down
10 changes: 6 additions & 4 deletions spec/picker-spec.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import React from 'react'
import TestUtils from 'react-dom/test-utils'
import Picker from '../src/components/picker'

import data from '../data/all.json'
import { NimblePicker } from '../src/components'

const { click } = TestUtils.Simulate

Expand All @@ -11,11 +13,11 @@ const {
} = TestUtils

const render = (props = {}) => {
const defaultProps = {}
return renderIntoDocument(<Picker {...defaultProps} {...props} />)
const defaultProps = { data }
return renderIntoDocument(<NimblePicker {...defaultProps} {...props} />)
}

describe('Picker', () => {
describe('NimblePicker', () => {
let subject

it('works', () => {
Expand Down

0 comments on commit 22b37b6

Please sign in to comment.