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 e4f2a57 commit 313db63Copy full SHA for 313db63
3 files changed
test/includes/1.html
@@ -0,0 +1,2 @@
1
+<h2>1</h2>
2
+<include src="./includes/2.html"></include>
test/includes/2.html
@@ -0,0 +1 @@
+<h2>2</h2>
test/test.js
@@ -34,6 +34,15 @@ describe('Simple test', function() {
34
);
35
});
36
37
+ it('multi includes', function(done) {
38
+ test(
39
+ '<h1>index</h1><include src="./includes/1.html"></include>',
40
+ '<h1>index</h1><h2>1</h2>\n<h2>2</h2>',
41
+ { root: './test/' },
42
+ done
43
+ );
44
+ });
45
+
46
it('addDependencyTo option', function(done) {
47
var includePath = require('path').resolve('./test/blocks/button/button.html');
48
0 commit comments