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 9ad9f1c commit 30d9491Copy full SHA for 30d9491
test/specs/loaders.js
@@ -55,6 +55,9 @@ describe('loaders', () => {
55
it('loads custom handlebars plugin when file is specified', () =>
56
loaders.loadPlugin({'layout': './test/fixtures/template.hbs'}));
57
58
+ it('load custom plugin via JavaScript file', () =>
59
+ loaders.loadPlugin({'layout': './test/fixtures/plugin.js'}));
60
+
61
it('fails on invalid plugin', () =>
62
loaders.loadPlugin({'layout': 'invalid'}).catch(err => {
63
@@ -77,9 +80,6 @@ describe('loaders', () => {
77
80
78
81
}));
79
82
- it('load custom plugin via JavaScript file', () =>
- loaders.loadPlugin({'layout': './test/fixtures/plugin.js'}));
-
83
});
84
85
0 commit comments