Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 243d977

Browse files
author
Aaron O'Mullan
committed
Add test for level regarding GitbookIO#318
1 parent 94bbbec commit 243d977

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/navigation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ describe('Summary navigation', function() {
8989
var nav = navigation(ALT_LEXED);
9090

9191
assert(nav['README.md']);
92+
assert.equal(nav['README.md'].level, '0');
9293
assert.notEqual(nav['README.md'].title, 'Introduction');
9394
});
9495

0 commit comments

Comments
 (0)