Skip to content

Commit

Permalink
Fix wrong typo
Browse files Browse the repository at this point in the history
  • Loading branch information
kination committed Feb 8, 2019
1 parent 6bc2604 commit 4869b2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _posts/2018-12-21-publish-module-npm.md
Expand Up @@ -147,7 +147,7 @@ Add new file in '/test' directory.
let assert = require('assert');
let reverse = require('../lib/index.js').reverseWords

describe('to camelcase', () => {
describe('first test', () => {
let testString = ''
before(() => {
testString = 'news in NBA trade deadline'
Expand All @@ -165,7 +165,7 @@ Install `mocha`, and run test to check the module works well.
```
$ mocha
to camelcase
first test
check reverse
✓ words in test string should be reversed
Expand Down

0 comments on commit 4869b2c

Please sign in to comment.