add assertions

This commit is contained in:
Kent C. Dodds 2016-06-27 06:41:58 -06:00
parent a60a492585
commit b904de4b92
3 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
module.exports = config => {
config.set({
basePath: '',
frameworks: ['mocha'],
frameworks: ['mocha', 'chai'],
files: [
'src/**/*.test.js',
],

View File

@ -9,12 +9,14 @@
"babel-preset-es2015": "6.13.2",
"babel-preset-es2016": "6.11.3",
"babel-preset-stage-2": "6.13.0",
"chai": "3.5.0",
"css-loader": "0.23.1",
"eslint": "3.2.2",
"eslint-config-kentcdodds": "^9.0.0",
"ghooks": "1.3.2",
"http-server": "0.9.0",
"karma": "1.1.2",
"karma-chai": "0.1.0",
"karma-chrome-launcher": "1.0.1",
"karma-mocha": "1.1.1",
"mocha": "3.0.1",

View File

@ -1,8 +1,8 @@
describe('test', () => {
it('works', () => {
// test stuff
expect(true).to.be.true
})
it('works again', () => {
// other stuff
expect('hi').to.equal('hi')
})
})