summaryrefslogtreecommitdiffstats
path: root/lib/parse/__tests__/parseSummary.js
diff options
context:
space:
mode:
authorSamy Pesse <samypesse@gmail.com>2016-05-11 13:02:20 +0200
committerSamy Pesse <samypesse@gmail.com>2016-05-11 13:02:24 +0200
commitef589a6b133ac67a7904f8bb2cbec42c96dec914 (patch)
treed505c567cd80b0681bbf5f7b46b2a25ed591e28a /lib/parse/__tests__/parseSummary.js
parentd5c4af337795ca5c3d4e6f516aeaef15d51c4e8c (diff)
downloadgitbook-ef589a6b133ac67a7904f8bb2cbec42c96dec914.zip
gitbook-ef589a6b133ac67a7904f8bb2cbec42c96dec914.tar.gz
gitbook-ef589a6b133ac67a7904f8bb2cbec42c96dec914.tar.bz2
Switch tests to mocha while keeping jest structure
Diffstat (limited to 'lib/parse/__tests__/parseSummary.js')
-rw-r--r--lib/parse/__tests__/parseSummary.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parse/__tests__/parseSummary.js b/lib/parse/__tests__/parseSummary.js
index 4b4650d..55a445e 100644
--- a/lib/parse/__tests__/parseSummary.js
+++ b/lib/parse/__tests__/parseSummary.js
@@ -4,7 +4,7 @@ var createMockFS = require('../../fs/mock');
describe('parseSummary', function() {
var parseSummary = require('../parseSummary');
- pit('should parse summary if exists', function() {
+ it('should parse summary if exists', function() {
var fs = createMockFS({
'SUMMARY.md': '# Summary\n\n* [Hello](hello.md)'
});
@@ -19,7 +19,7 @@ describe('parseSummary', function() {
});
});
- pit('should not fail if doesn\'t exist', function() {
+ it('should not fail if doesn\'t exist', function() {
var fs = createMockFS({});
var book = Book.createForFS(fs);