mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 08:36:33 +03:00
Fix pipes spec
This commit is contained in:
parent
31bdc657af
commit
38f642dbb8
|
@ -85,12 +85,12 @@ describe('Pipes', () => {
|
|||
|
||||
beforeEach(() => {
|
||||
unmarked = 'test\n';
|
||||
marked = '<p>test</p>\n';
|
||||
marked = '<span class="redoc-markdown-block"><p>test</p>\n</span>';
|
||||
pipe = new MarkedPipe();
|
||||
});
|
||||
|
||||
describe('MarkedPipe transform', () => {
|
||||
it('should escpae pointer', () => {
|
||||
it('should wrap in markdown span', () => {
|
||||
var val = pipe.transform(unmarked);
|
||||
val.should.be.equal(marked);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user