Skip to content

Commit

Permalink
Add test for library index
Browse files Browse the repository at this point in the history
  • Loading branch information
nmuldavin committed Nov 19, 2017
1 parent 608af40 commit a4197fc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { expect } from 'chai'
import addOperators from '../src/index'

describe('Library index', () => {
it('should export a function', () => {
expect(addOperators).to.be.a('function')
})

it('should exectute without crashing', () => {
addOperators()
})
})

0 comments on commit a4197fc

Please sign in to comment.