mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 18:14:17 +00:00
fix lint
This commit is contained in:
@@ -3,11 +3,11 @@ import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|||||||
import { AdminNotifyDashboardComponent } from './admin-notify-dashboard.component';
|
import { AdminNotifyDashboardComponent } from './admin-notify-dashboard.component';
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
|
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
|
||||||
import { SearchService } from "../../core/shared/search/search.service";
|
import { SearchService } from '../../core/shared/search/search.service';
|
||||||
import { createSuccessfulRemoteDataObject$ } from "../../shared/remote-data.utils";
|
import { createSuccessfulRemoteDataObject$ } from '../../shared/remote-data.utils';
|
||||||
import { buildPaginatedList } from "../../core/data/paginated-list.model";
|
import { buildPaginatedList } from '../../core/data/paginated-list.model';
|
||||||
import { AdminNotifySearchResult } from "./models/admin-notify-message-search-result.model";
|
import { AdminNotifySearchResult } from './models/admin-notify-message-search-result.model';
|
||||||
import { AdminNotifyMessage } from "./models/admin-notify-message.model";
|
import { AdminNotifyMessage } from './models/admin-notify-message.model';
|
||||||
|
|
||||||
describe('AdminNotifyDashboardComponent', () => {
|
describe('AdminNotifyDashboardComponent', () => {
|
||||||
let component: AdminNotifyDashboardComponent;
|
let component: AdminNotifyDashboardComponent;
|
||||||
|
@@ -1,10 +1,10 @@
|
|||||||
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
import { NotificationBoxComponent } from './notification-box.component';
|
import { NotificationBoxComponent } from './notification-box.component';
|
||||||
import { TranslateModule } from "@ngx-translate/core";
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
import {
|
import {
|
||||||
AdminNotifyMetricsBox
|
AdminNotifyMetricsBox
|
||||||
} from "../../admin/admin-notify-dashboard/admin-notify-metrics/admin-notify-metrics.model";
|
} from '../../admin/admin-notify-dashboard/admin-notify-metrics/admin-notify-metrics.model';
|
||||||
|
|
||||||
describe('NotificationBoxComponent', () => {
|
describe('NotificationBoxComponent', () => {
|
||||||
let component: NotificationBoxComponent;
|
let component: NotificationBoxComponent;
|
||||||
@@ -13,11 +13,11 @@ describe('NotificationBoxComponent', () => {
|
|||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
mockBoxConfig = {
|
mockBoxConfig = {
|
||||||
"color": "#D4EDDA",
|
'color': '#D4EDDA',
|
||||||
"title": "admin-notify-dashboard.delivered",
|
'title': 'admin-notify-dashboard.delivered',
|
||||||
"config": "NOTIFY.outgoing.delivered",
|
'config': 'NOTIFY.outgoing.delivered',
|
||||||
"count": 79
|
'count': 79
|
||||||
}
|
};
|
||||||
|
|
||||||
await TestBed.configureTestingModule({
|
await TestBed.configureTestingModule({
|
||||||
imports: [TranslateModule.forRoot()],
|
imports: [TranslateModule.forRoot()],
|
||||||
|
Reference in New Issue
Block a user