diff options
author | Samy Pesse <samypesse@gmail.com> | 2016-05-11 13:02:20 +0200 |
---|---|---|
committer | Samy Pesse <samypesse@gmail.com> | 2016-05-11 13:02:24 +0200 |
commit | ef589a6b133ac67a7904f8bb2cbec42c96dec914 (patch) | |
tree | d505c567cd80b0681bbf5f7b46b2a25ed591e28a /lib/parse/__tests__/parseReadme.js | |
parent | d5c4af337795ca5c3d4e6f516aeaef15d51c4e8c (diff) | |
download | gitbook-ef589a6b133ac67a7904f8bb2cbec42c96dec914.zip gitbook-ef589a6b133ac67a7904f8bb2cbec42c96dec914.tar.gz gitbook-ef589a6b133ac67a7904f8bb2cbec42c96dec914.tar.bz2 |
Switch tests to mocha while keeping jest structure
Diffstat (limited to 'lib/parse/__tests__/parseReadme.js')
-rw-r--r-- | lib/parse/__tests__/parseReadme.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parse/__tests__/parseReadme.js b/lib/parse/__tests__/parseReadme.js index 1b1567b..4270ea3 100644 --- a/lib/parse/__tests__/parseReadme.js +++ b/lib/parse/__tests__/parseReadme.js @@ -5,7 +5,7 @@ var createMockFS = require('../../fs/mock'); describe('parseReadme', function() { var parseReadme = require('../parseReadme'); - pit('should parse summary if exists', function() { + it('should parse summary if exists', function() { var fs = createMockFS({ 'README.md': '# Hello\n\nAnd here is the description.' }); @@ -22,7 +22,7 @@ describe('parseReadme', function() { }); }); - pit('should fail if doesn\'t exist', function() { + it('should fail if doesn\'t exist', function() { var fs = createMockFS({}); var book = Book.createForFS(fs); |