MCPcopy
hub / github.com/jsdoc/jsdoc / loadTutorials

Function loadTutorials

test/specs/jsdoc/tutorial/resolver.js:19–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17 }
18
19 function loadTutorials() {
20 resetRootTutorial();
21
22 resolver.load(`${env.dirname}/test/tutorials/tutorials`);
23
24 childNames = resolver.root.children.map(({name}) => name);
25 test = resolver.root.getByName('test');
26 test2 = resolver.root.getByName('test2');
27 test3 = resolver.root.getByName('test3');
28 test4 = resolver.root.getByName('test4');
29 test6 = resolver.root.getByName('test6');
30 constr = resolver.root.getByName('constructor');
31 }
32
33 it('should exist', () => {
34 expect(resolver).toBeDefined();

Callers 1

resolver.jsFile · 0.85

Calls 3

resetRootTutorialFunction · 0.85
loadMethod · 0.80
getByNameMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…