mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-19 07:26:49 +00:00
Fixes build issues. Removes warnings.
This commit is contained in:
@@ -44,7 +44,7 @@ import { SettingsComponent, EnabledCurrenciesDialogueComponent } from './pages/s
|
||||
// Shared
|
||||
import { NavbarComponent } from './shared/navbar/navbar.component';
|
||||
import { AllEnabledCurrencyTickersComponent } from './shared/all-updates-ticker/all-updates-ticker.component';
|
||||
import { ThemePickerComponent } from './shared/theme-picker/theme-picker';
|
||||
import { ThemePickerComponent } from './shared/theme-picker/theme-picker.component';
|
||||
import {IterateMapPipe, EnabledCurrenciesPipe} from './shared/classes/pipes';
|
||||
// services
|
||||
import { WebsocketService } from './services/websocket/websocket.service';
|
||||
|
||||
@@ -1,17 +1,17 @@
|
||||
import {inject, TestBed} from '@angular/core/testing';
|
||||
import {HttpModule} from '@angular/http';
|
||||
import {StyleManagerComponent} from './style-manager.component';
|
||||
import {StyleManagerService} from './style-manager.service';
|
||||
|
||||
|
||||
describe('StyleManager', () => {
|
||||
let styleManager: StyleManagerComponent;
|
||||
let styleManager: StyleManagerService;
|
||||
|
||||
beforeEach(() => TestBed.configureTestingModule({
|
||||
imports: [HttpModule],
|
||||
providers: [StyleManagerComponent]
|
||||
providers: [StyleManagerService]
|
||||
}));
|
||||
|
||||
beforeEach(inject([StyleManagerComponent], (sm: StyleManagerComponent) => {
|
||||
beforeEach(inject([StyleManagerService], (sm: StyleManagerService) => {
|
||||
styleManager = sm;
|
||||
}));
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { AllEnabledCurrencyTickersComponent } from './all-enabled-currency-tickers.component';
|
||||
import { AllEnabledCurrencyTickersComponent } from './all-updates-ticker.component';
|
||||
|
||||
describe('AllEnabledCurrencyTickersComponent', () => {
|
||||
let component: AllEnabledCurrencyTickersComponent;
|
||||
|
||||
@@ -7,8 +7,8 @@ import {CommonModule} from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-theme-picker',
|
||||
templateUrl: 'theme-picker.html',
|
||||
styleUrls: ['theme-picker.scss'],
|
||||
templateUrl: 'theme-picker.component.html',
|
||||
styleUrls: ['theme-picker.component.scss'],
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
encapsulation: ViewEncapsulation.None,
|
||||
host: {'aria-hidden': 'true'},
|
||||
@@ -41,8 +41,8 @@
|
||||
|
||||
|
||||
/** Evergreen browsers require these. **/
|
||||
import 'core-js/es6/reflect';
|
||||
import 'core-js/es7/reflect';
|
||||
//import 'core-js/es6/reflect';
|
||||
//import 'core-js/es7/reflect';
|
||||
|
||||
|
||||
/** ALL Firefox browsers require the following to support `@angular/animation`. **/
|
||||
|
||||
Reference in New Issue
Block a user