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 892d602 commit 95bad06Copy full SHA for 95bad06
test/test-core.spec.ts
@@ -167,6 +167,20 @@ test('{Content} {Array}', t => {
167
t.is(render(fixture), expected);
168
});
169
170
+test('{Content} {Array<before empty array content>}', t => {
171
+ const fixture = {
172
+ content: [
173
+ [],
174
+ [
175
+ {tag: 'style', content: 'body { color: red; }'}
176
+ ]
177
178
+ };
179
+ const expected = '<div><style>body { color: red; }</style></div>';
180
+
181
+ t.is(render(fixture), expected);
182
+});
183
184
test('{Content} {Nested}', t => {
185
const fixture = {
186
content: [
0 commit comments