Implement Toolbar
This commit is contained in:
@@ -199,17 +199,6 @@ describe('ThemeManager', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('RibbitPlugin', () => {
|
||||
it('has defaults', () => {
|
||||
resetDOM();
|
||||
const viewer = new r.Viewer({});
|
||||
const plugin = new r.Plugin({ name: 'test', wiki: viewer });
|
||||
expect(plugin.name).toBe('test');
|
||||
expect(plugin.precedence).toBe(50);
|
||||
expect(plugin.toMarkdown('<b>x</b>')).toBe('<b>x</b>');
|
||||
expect(plugin.toHTML('**x**')).toBe('**x**');
|
||||
});
|
||||
});
|
||||
|
||||
describe('defaultTheme', () => {
|
||||
it('has correct shape', () => {
|
||||
|
||||
Reference in New Issue
Block a user