Skip to content

Commit 56abba6

Browse files
authored
Update render-util.test.js
1 parent e9a2625 commit 56abba6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/render-util.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('core/render/utils', () => {
5757
getAndRemoveDocisfyIgnorConfig('My Ignore Title{docsify-ignore-all}');
5858
expect(content).toBe('My Ignore Title');
5959
expect(ignoreAllSubs).toBeTruthy();
60-
expect(!!ignoreSubHeading).toBeFalsy();
60+
expect(ignoreSubHeading === undefined).toBeTruthy();
6161
});
6262
});
6363

0 commit comments

Comments
 (0)