Skip to content

Commit 92774c7

Browse files
committed
Added test.
1 parent 6831e2e commit 92774c7

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

test/specs/loaders.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@ describe('loaders', () => {
4949

5050
}));
5151

52+
it('fails on invalid custom parser', () =>
53+
loaders.loadParser({'parser': './test/fixtures/template.html'}).catch(err => {
54+
55+
if (err) {
56+
57+
console.log(err);
58+
59+
}
60+
61+
}));
62+
5263
});
5364

5465
describe('loadPlugin', () => {

0 commit comments

Comments
 (0)