mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
prepare tests for ng-12 upgrade (#7099)
* prepare tests for ng12 upgrade * fix lint * fix tests * test fixes * fix code and tests * fix code and tests * test fixes * test fixes
This commit is contained in:
@@ -41,7 +41,7 @@ describe('NodeDownloadDirective', () => {
|
||||
let apiService: AlfrescoApiService;
|
||||
let contentService;
|
||||
let dialogSpy;
|
||||
const mockOauth2Auth = {
|
||||
const mockOauth2Auth: any = {
|
||||
oauth2Auth: {
|
||||
callCustomApi: () => Promise.resolve()
|
||||
},
|
||||
@@ -159,7 +159,7 @@ describe('NodeDownloadDirective', () => {
|
||||
});
|
||||
|
||||
it('should create link element to download file node', () => {
|
||||
const dummyLinkElement = {
|
||||
const dummyLinkElement: any = {
|
||||
download: null,
|
||||
href: null,
|
||||
click: () => null,
|
||||
|
Reference in New Issue
Block a user