import { should } from 'chai'
import Enzyme, { shallow } from 'enzyme'
import Adapter from 'enzyme-adapter-react-16'
require '../../../startup/client/init.coffee'
Input = require './Input.coffee'

should()

Enzyme.configure
  adapter: new Adapter()

if Meteor.isClient
  describe 'validate', ->
    it 'right error message', ->
      input = shallow <Input />

      console.log input

      # Input.prototype.validate('id', 'asdf1213').should.be true
