Skip to content

Commit

Permalink
test(skeleton/renderer): strong syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
moki committed Oct 14, 2023
1 parent 362dcd9 commit c879d05
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/skeleton/__snapshots__/renderer-inline.test.ts.snap
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`inline: skeleton rendering inline: renders hash instead of the sentences with plain text. 1`] = `"%%%1%%% %%%2%%%"`;

exports[`inline: skeleton rendering inline: renders hash instead of the sentences with strong syntax. 1`] = `"%%%1%%% %%%2%%%"`;
9 changes: 9 additions & 0 deletions src/skeleton/renderer-inline.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,13 @@ describe('inline: skeleton rendering', () => {
const rendered = render(parameters);
expect(rendered).toMatchSnapshot();
});

it('inline: renders hash instead of the sentences with strong syntax.', () => {
const parameters: RenderParameters = {
markdown: 'Предложение номер **один**. Предложение номер **два**.',
};

const rendered = render(parameters);
expect(rendered).toMatchSnapshot();
});
});

0 comments on commit c879d05

Please sign in to comment.