mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +00:00
Fixed unit and lint
This commit is contained in:
parent
f974cce8a0
commit
63e46db104
@ -36,6 +36,7 @@ import { MatTooltipModule } from '@angular/material/tooltip';
|
|||||||
import { MatDialogModule } from '@angular/material/dialog';
|
import { MatDialogModule } from '@angular/material/dialog';
|
||||||
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
import { NoopAnimationsModule } from '@angular/platform-browser/animations';
|
||||||
import { MatDatepickerModule } from '@angular/material/datepicker';
|
import { MatDatepickerModule } from '@angular/material/datepicker';
|
||||||
|
import { addMinutes } from 'date-fns';
|
||||||
|
|
||||||
describe('CardViewDateItemComponent', () => {
|
describe('CardViewDateItemComponent', () => {
|
||||||
let loader: HarnessLoader;
|
let loader: HarnessLoader;
|
||||||
|
@ -19,15 +19,10 @@ import { NgModule } from '@angular/core';
|
|||||||
import { CoreModule } from '../core.module';
|
import { CoreModule } from '../core.module';
|
||||||
import { TranslateModule } from '@ngx-translate/core';
|
import { TranslateModule } from '@ngx-translate/core';
|
||||||
import { provideTranslations } from '../translation/translation.service';
|
import { provideTranslations } from '../translation/translation.service';
|
||||||
import { AuthModule } from '../../../src/lib/auth/oidc/auth.module';
|
|
||||||
import { provideAnimations } from '@angular/platform-browser/animations';
|
import { provideAnimations } from '@angular/platform-browser/animations';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [TranslateModule.forRoot(), CoreModule.forRoot()],
|
||||||
AuthModule.forRoot(),
|
|
||||||
TranslateModule.forRoot(),
|
|
||||||
CoreModule.forRoot(),
|
|
||||||
],
|
|
||||||
providers: [provideTranslations('adf-core', 'assets/adf-core'), provideAnimations()]
|
providers: [provideTranslations('adf-core', 'assets/adf-core'), provideAnimations()]
|
||||||
})
|
})
|
||||||
export class CoreStoryModule {}
|
export class CoreStoryModule {}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@alfresco/js-api",
|
"name": "@alfresco/js-api",
|
||||||
"version": "7.8.0",
|
"version": "7.9.0",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"description": "JavaScript client library for the Alfresco REST API",
|
"description": "JavaScript client library for the Alfresco REST API",
|
||||||
"author": "Hyland Software, Inc. and its affiliates",
|
"author": "Hyland Software, Inc. and its affiliates",
|
||||||
|
@ -26,6 +26,7 @@ import { ProcessTestingModule } from '../testing/process.testing.module';
|
|||||||
import { HarnessLoader } from '@angular/cdk/testing';
|
import { HarnessLoader } from '@angular/cdk/testing';
|
||||||
import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';
|
import { TestbedHarnessEnvironment } from '@angular/cdk/testing/testbed';
|
||||||
import { MatProgressSpinnerHarness } from '@angular/material/progress-spinner/testing';
|
import { MatProgressSpinnerHarness } from '@angular/material/progress-spinner/testing';
|
||||||
|
import { AppDefinitionRepresentation } from '@alfresco/js-api';
|
||||||
|
|
||||||
describe('AppsListComponent', () => {
|
describe('AppsListComponent', () => {
|
||||||
let loader: HarnessLoader;
|
let loader: HarnessLoader;
|
||||||
|
@ -11,7 +11,7 @@
|
|||||||
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
"url": "https://github.com/Alfresco/alfresco-ng2-components/issues"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@alfresco/js-api": ">=7.9.0"
|
"@alfresco/js-api": ">=7.9.0-0"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"testing",
|
"testing",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user