Commit db9adcee authored by Marcelo Rivera's avatar Marcelo Rivera
Browse files

(fix): spec tests

parent 1696aa6c
Pipeline #71258821 failed with stages
in 30 minutes and 29 seconds
......@@ -17,7 +17,7 @@ import { attachmentServiceMock } from '../../../../tests/attachment-service-mock
import { AutoGrow } from '../../../common/directives/autogrow';
import { MaterialUploadMock } from '../../../mocks/common/directives/material/upload-mock';
import { CommonModule } from '@angular/common';
import { MockComponent, MockDirective } from '../../../utils/mock';
import { MockComponent, MockDirective, MockService } from '../../../utils/mock';
import { HashtagsSelectorComponent } from '../../hashtags/selector/selector.component';
import { DropdownComponent } from '../../../common/components/dropdown/dropdown.component';
import { TagsInput } from '../../hashtags/tags-input/tags.component';
......@@ -26,6 +26,7 @@ import {topbarHashtagsServiceMock} from "../../../mocks/modules/hashtags/service
import { InMemoryStorageService } from "../../../services/in-memory-storage.service";
import { inMemoryStorageServiceMock } from "../../../../tests/in-memory-storage-service-mock.spec";
import { TextInputAutocompleteModule } from "../../../common/components/autocomplete";
import { AutocompleteSuggestionsService } from "../../suggestions/services/autocomplete-suggestions.service";
@Component({
selector: 'minds-third-party-networks-selector',
......@@ -97,6 +98,7 @@ describe('PosterComponent', () => {
{ provide: AttachmentService, useValue: attachmentServiceMock },
{ provide: TopbarHashtagsService, useValue: topbarHashtagsServiceMock },
{ provide: InMemoryStorageService, useValue: inMemoryStorageServiceMock },
{ provide: AutocompleteSuggestionsService, useValue: MockService(AutocompleteSuggestionsService) },
],
schemas: [
NO_ERRORS_SCHEMA,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment