Skip to content

Commit

Permalink
[Linesh][#10] Chore: run the first test
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanLin-TWer committed Mar 25, 2017
1 parent 531b801 commit 561388b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
"babel-eslint": "^7.2.1",
"babel-preset-es2015": "^6.24.0",
"babel-preset-stage-0": "^6.22.0",
"babel-register": "^6.24.0",
"chai": "^3.5.0",
"eslint": "^3.18.0",
"mocha": "^3.2.0",
"sinon": "^2.1.0"
},
"scripts": {
"lint": "eslint js/ test/",
"test": "echo \"good\""
"test": "mocha test/ --recursive --compilers js:babel-core/register"
},
"repository": {
"type": "git",
Expand Down
8 changes: 8 additions & 0 deletions test/sample.spec.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { describe, it } from 'mocha'
import { expect } from 'chai'

describe('sample', () => {
it('should 1 equals 1', () => {
expect(1).to.equal(1)
})
})

0 comments on commit 561388b

Please sign in to comment.