Skip to content

Commit

Permalink
chore: fix floating menu tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sibiraj-s committed May 9, 2022
1 parent eec29fd commit 8a423e7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { DebugElement } from '@angular/core';
import { By } from '@angular/platform-browser';

import { FloatingMenuComponent } from './floating-menu.component';
import { SanitizeHtmlPipe } from '../../../pipes/sanitize/sanitize-html.pipe';
import { BubbleComponent } from '../bubble/bubble.component';
import Editor from '../../../Editor';

Expand All @@ -17,6 +18,7 @@ describe('FloatingMenuComponent', () => {
BubbleComponent,
],
providers: [
SanitizeHtmlPipe,
],
})
.compileComponents();
Expand All @@ -37,7 +39,7 @@ describe('FloatingMenuComponent', () => {
expect(component).toBeTruthy();
});

it('should render bubble menu by defaault', () => {
it('should render bubble menu by default', () => {
expect(component).toBeTruthy();

const compiled: DebugElement = fixture.debugElement;
Expand Down

0 comments on commit 8a423e7

Please sign in to comment.