Skip to content

Commit

Permalink
Merge pull request #58 from dobrite/master
Browse files Browse the repository at this point in the history
Doc fix: Updated comments to be coffeescript.
  • Loading branch information
Jeff Morrison authored and Jeff Morrison committed Jun 1, 2014
2 parents bbaaf26 + 582e7df commit 9bbd9d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/TutorialCoffeeScript.md
Expand Up @@ -39,14 +39,14 @@ Once you have this, you can use CoffeeScript with Jest in any place you would ha


```javascript
// sum.coffee
# sum.coffee
sum = (a, b) ->
a + b
module.exports = sum
```

```javascript
// __tests__/sum-test.coffee
# __tests__/sum-test.coffee
jest.dontMock '../sum.coffee'
describe 'sum', ->
it 'adds 1 + 2 to equal 3', ->
Expand Down

0 comments on commit 9bbd9d8

Please sign in to comment.