fix tests and export component

This commit is contained in:
Kyle Spearrin 2018-05-18 15:57:37 -04:00
parent 4b366ec5ad
commit 7eceedf2fc
2 changed files with 5 additions and 6 deletions

View File

@ -20,6 +20,7 @@ module.exports = function(config) {
// list of files to exclude // list of files to exclude
exclude: [ exclude: [
"jslib/src/services/nodeApi.service.ts"
], ],
// preprocess matching files before serving them to the browser // preprocess matching files before serving them to the browser

View File

@ -4,9 +4,8 @@ import { Angulartics2 } from 'angulartics2';
import { Component } from '@angular/core'; import { Component } from '@angular/core';
import { Router } from '@angular/router'; import { Router } from '@angular/router';
import { CipherService } from 'jslib/abstractions/cipher.service';
import { CryptoService } from 'jslib/abstractions/crypto.service'; import { CryptoService } from 'jslib/abstractions/crypto.service';
import { FolderService } from 'jslib/abstractions/folder.service'; import { ExportService } from 'jslib/abstractions/export.service';
import { I18nService } from 'jslib/abstractions/i18n.service'; import { I18nService } from 'jslib/abstractions/i18n.service';
import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service'; import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service';
import { UserService } from 'jslib/abstractions/user.service'; import { UserService } from 'jslib/abstractions/user.service';
@ -19,12 +18,11 @@ import { ExportComponent as BaseExportComponent } from 'jslib/angular/components
}) })
export class ExportComponent extends BaseExportComponent { export class ExportComponent extends BaseExportComponent {
constructor(analytics: Angulartics2, toasterService: ToasterService, constructor(analytics: Angulartics2, toasterService: ToasterService,
cipherService: CipherService, folderService: FolderService,
cryptoService: CryptoService, userService: UserService, cryptoService: CryptoService, userService: UserService,
i18nService: I18nService, platformUtilsService: PlatformUtilsService, i18nService: I18nService, platformUtilsService: PlatformUtilsService,
private router: Router) { exportService: ExportService, private router: Router) {
super(analytics, toasterService, cipherService, folderService, cryptoService, userService, i18nService, super(analytics, toasterService, cryptoService, userService, i18nService, platformUtilsService,
platformUtilsService, window); exportService, window);
} }
protected saved() { protected saved() {