We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30d9491 commit 579b1d0Copy full SHA for 579b1d0
test/fixtures/parser.js
@@ -0,0 +1,3 @@
1
+const parser = () => null;
2
+
3
+module.exports = parser;
test/specs/loaders.js
@@ -35,6 +35,9 @@ describe('loaders', () => {
35
36
it('loads dox parser', () => loaders.loadParser({'parser': 'dox'}));
37
38
+ it('loads custom parser when file is specified', () =>
39
+ loaders.loadParser({'parser': './test/fixtures/parser.js'}));
40
41
it('fails on invalid parser', () =>
42
loaders.loadParser({'parser': 'invalid'}).catch(err => {
43
0 commit comments