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/templating | |
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/templating')
-rw-r--r-- | lib/templating/__tests__/conrefsLoader.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/templating/__tests__/conrefsLoader.js b/lib/templating/__tests__/conrefsLoader.js index ff484b7..d430a4f 100644 --- a/lib/templating/__tests__/conrefsLoader.js +++ b/lib/templating/__tests__/conrefsLoader.js @@ -9,21 +9,21 @@ describe('ConrefsLoader', function() { }); describe('Git', function() { - pit('should include content from git', function() { + it('should include content from git', function() { return renderTemplate(engine, 'test.md', '{% include "git+https://gist.github.com/69ea4542e4c8967d2fa7.git/test.md" %}') .then(function(out) { expect(out.getContent()).toBe('Hello from git'); }); }); - pit('should handle deep inclusion (1)', function() { + it('should handle deep inclusion (1)', function() { return renderTemplate(engine, 'test.md', '{% include "git+https://gist.github.com/69ea4542e4c8967d2fa7.git/test2.md" %}') .then(function(out) { expect(out.getContent()).toBe('First Hello. Hello from git'); }); }); - pit('should handle deep inclusion (2)', function() { + it('should handle deep inclusion (2)', function() { return renderTemplate(engine, 'test.md', '{% include "git+https://gist.github.com/69ea4542e4c8967d2fa7.git/test3.md" %}') .then(function(out) { expect(out.getContent()).toBe('First Hello. Hello from git'); |