diff --git a/tests/markdown/mustache-syntax.test.js b/tests/markdown/mustache-syntax.test.js
index d1d64a9de..f42cbbac8 100644
--- a/tests/markdown/mustache-syntax.test.js
+++ b/tests/markdown/mustache-syntax.test.js
@@ -255,10 +255,10 @@ describe('Injection: When an injection tag follows an element', ()=>{
expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('text');
});
- it.failing('Renders a span "text" with injected attribute', function() {
+ it('Renders a span "text" with injected attribute', function() {
const source = '{{ text}}{a="b and c"}';
const rendered = Markdown.render(source);
- expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('text');
+ expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('text');
});
it('Renders a span "text" with injected style', function() {
@@ -291,16 +291,16 @@ describe('Injection: When an injection tag follows an element', ()=>{
expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('
code
');
});
- it.failing('Renders an image element with injected style', function() {
+ it('Renders an image element with injected style', function() {
const source = '{position:absolute}';
const rendered = Markdown.render(source).trimReturns();
- expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('
');
+ expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('
');
});
it.failing('Renders an element modified by only the first of two consecutive injections', function() {
const source = '{{ text}}{color:red}{background:blue}';
const rendered = Markdown.render(source).trimReturns();
- expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('text{background:blue}
');
+ expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('text{background:blue}');
});
it('Renders an image with added attributes', function() {
@@ -329,29 +329,29 @@ describe('Injection: When an injection tag follows an element', ()=>{
expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('');
});
- it.failing('renders a div "text" with two injected styles', function() {
+ it('renders a div "text" with two injected styles', function() {
const source = dedent`{{
text
}}
{color:red,background:blue}`;
const rendered = Markdown.render(source).trimReturns();
- expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe(``);
+ expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe(``);
});
- it.failing('renders a div "text" with injected variable string', function() {
+ it('renders a div "text" with injected variable string', function() {
const source = dedent`{{
text
}}
{--stringVariable:"'string'"}`;
const rendered = Markdown.render(source).trimReturns();
- expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe(``);
+ expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe(``);
});
- it.failing('renders an h2 header "text" with injected class name', function() {
+ it('renders an h2 header "text" with injected class name', function() {
const source = dedent`## text
{ClassName}`;
const rendered = Markdown.render(source).trimReturns();
- expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('text
');
+ expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('text
');
});
it('renders a table with injected class name', function() {
@@ -376,12 +376,12 @@ describe('Injection: When an injection tag follows an element', ()=>{
// expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe(`...`); // FIXME: expect this to be injected into ? Currently injects into last -
// });
- it.failing('renders an h2 header "text" with injected class name, and "secondInjection" as regular text on the next line.', function() {
+ it('renders an h2 header "text" with injected class name, and "secondInjection" as regular text on the next line.', function() {
const source = dedent`## text
{ClassName}
{secondInjection}`;
const rendered = Markdown.render(source).trimReturns();
- expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('
text
{secondInjection}
');
+ expect(rendered, `Input:\n${source}`, { showPrefix: false }).toBe('text
{secondInjection}
');
});
it('renders a div nested into another div, the inner with class=innerDiv and the other class=outerDiv', function() {