mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
integrate Prettier with tslint (#1419)
* integrate prettier with tslint * remove obsolte scripts * update tsconfig * fix lint issues * fix lint errors * more rules and fixes * kebab case and lint fixes * update helpers * update util
This commit is contained in:
@@ -107,7 +107,7 @@ describe('UploadEffects', () => {
|
||||
|
||||
it('should dispatch the unlock write action for a locked file', () => {
|
||||
const file: FileModel = new FileModel(
|
||||
<File>{ name: 'file1.png', size: 10 },
|
||||
{ name: 'file1.png', size: 10 } as File,
|
||||
null,
|
||||
'file1'
|
||||
);
|
||||
@@ -137,7 +137,7 @@ describe('UploadEffects', () => {
|
||||
|
||||
it('should dispatch only one unlock action for a locked file', () => {
|
||||
const file: FileModel = new FileModel(
|
||||
<File>{ name: 'file1.png', size: 10 },
|
||||
{ name: 'file1.png', size: 10 } as File,
|
||||
null,
|
||||
'file1'
|
||||
);
|
||||
@@ -171,7 +171,7 @@ describe('UploadEffects', () => {
|
||||
|
||||
it('should dispatch no actions if file is not locked', () => {
|
||||
const file: FileModel = new FileModel(
|
||||
<File>{ name: 'file1.png', size: 10 },
|
||||
{ name: 'file1.png', size: 10 } as File,
|
||||
null,
|
||||
'file1'
|
||||
);
|
||||
|
Reference in New Issue
Block a user