Skip to content

Commit

Permalink
build: proper imports
Browse files Browse the repository at this point in the history
  • Loading branch information
satanTime committed Nov 14, 2020
1 parent a55b7ec commit 68df46d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion lib/mock-builder/mock-builder-promise.skip-dep.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { DOCUMENT } from '@angular/common';
import { isNgInjectionToken } from 'ng-mocks';

import ngConfig from '../common/core.config';
import { isNgInjectionToken } from '../common/func.is-ng-injection-token';
import ngMocksUniverse from '../common/ng-mocks-universe';

// Checks if we should avoid mocking of the provider.
Expand Down
3 changes: 2 additions & 1 deletion lib/mock-builder/mock-builder-promise.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { InjectionToken, NgModule, Provider } from '@angular/core';
import { MetadataOverride, TestBed } from '@angular/core/testing';
import { MockService, ngMocks } from 'ng-mocks';

import { extractDependency, flatten, mapEntries, mapValues } from '../common/core.helpers';
import { directiveResolver, jitReflector } from '../common/core.reflect';
Expand All @@ -12,10 +11,12 @@ import { isNgModuleDefWithProviders, NgModuleWithProviders } from '../common/fun
import ngMocksUniverse from '../common/ng-mocks-universe';
import { MockComponent } from '../mock-component/mock-component';
import { MockDirective } from '../mock-directive/mock-directive';
import { ngMocks } from '../mock-helper/mock-helper';
import { MockModule, MockNgDef } from '../mock-module/mock-module';
import { MockPipe } from '../mock-pipe/mock-pipe';
import mockServiceHelper from '../mock-service/helper';
import MockProvider from '../mock-service/mock-provider';
import { MockService } from '../mock-service/mock-service';

import extractDep from './mock-builder-promise.extract-dep';
import skipDep from './mock-builder-promise.skip-dep';
Expand Down
3 changes: 2 additions & 1 deletion lib/mock-helper/mock-helper.findAll.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { By } from '@angular/platform-browser';
import { MockedDebugElement, Type } from 'ng-mocks';

import { Type } from '../common/core.types';
import { getSourceOfMock } from '../common/func.get-source-of-mock';
import { MockedDebugElement } from '../mock-render/types';

import getLastFixture from './func.get-last-fixture';

Expand Down
3 changes: 1 addition & 2 deletions tests/issue-162/test.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { Component, NgModule, RendererFactory2 } from '@angular/core';
import { TestBed } from '@angular/core/testing';
import { BrowserModule, EventManager } from '@angular/platform-browser';
import { MockBuilder, ngMocks } from 'ng-mocks';
import { MockRender } from 'ng-mocks/dist/lib/mock-render/mock-render';
import { MockBuilder, MockRender, ngMocks } from 'ng-mocks';

@Component({
selector: 'app-root',
Expand Down
3 changes: 1 addition & 2 deletions tests/issue-173/test.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { Directive, NgModule } from '@angular/core';
import { MockBuilder } from 'ng-mocks';
import { MockRender } from 'ng-mocks/dist/lib/mock-render/mock-render';
import { MockBuilder, MockRender } from 'ng-mocks';

@Directive({
selector: 'child',
Expand Down

0 comments on commit 68df46d

Please sign in to comment.