Skip to content

Commit

Permalink
fix(block-editor) fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
oidacra committed Dec 7, 2023
1 parent d66b76c commit 8d20336
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { SpectatorHost, byTestId, createHostFactory } from '@ngneat/spectator';
import { byTestId, createHostFactory, SpectatorHost } from '@ngneat/spectator';
import { mockProvider } from '@ngneat/spectator/jest';

import { CommonModule } from '@angular/common';
import { HttpClientTestingModule } from '@angular/common/http/testing';
Expand All @@ -13,7 +14,7 @@ describe('DotBinaryFieldUiMessageComponent', () => {
const createHost = createHostFactory({
component: DotBinaryFieldUiMessageComponent,
imports: [CommonModule, DotMessagePipe, HttpClientTestingModule],
providers: []
providers: [mockProvider(DotMessagePipe)]
});

beforeEach(async () => {
Expand Down

0 comments on commit 8d20336

Please sign in to comment.