summaryrefslogtreecommitdiffstats
path: root/lib/models/__tests__/glossaryEntry.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/models/__tests__/glossaryEntry.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/models/__tests__/glossaryEntry.js')
-rw-r--r--lib/models/__tests__/glossaryEntry.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/models/__tests__/glossaryEntry.js b/lib/models/__tests__/glossaryEntry.js
index 9eabc68..833115d 100644
--- a/lib/models/__tests__/glossaryEntry.js
+++ b/lib/models/__tests__/glossaryEntry.js
@@ -1,8 +1,6 @@
-jest.autoMockOff();
+var GlossaryEntry = require('../glossaryEntry');
describe('GlossaryEntry', function() {
- var GlossaryEntry = require('../glossaryEntry');
-
describe('getID', function() {
it('must return a normalized ID', function() {
var entry = new GlossaryEntry({