cleanup: trim trailing whitespace (#11136)
* cleanup: trim trailing whitespace * update(`.editorconfig`) --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
4c879b3a33
commit
d84796588c
161 changed files with 615 additions and 609 deletions
|
@ -94,7 +94,7 @@ describe('FileInfoService', () => {
|
|||
orientation: undefined,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test('Generic APNG', async () => {
|
||||
const path = `${resources}/anime.png`;
|
||||
const info = await fileInfoService.getFileInfo(path, { skipSensitiveDetection: true }) as any;
|
||||
|
@ -114,7 +114,7 @@ describe('FileInfoService', () => {
|
|||
orientation: undefined,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test('Generic AGIF', async () => {
|
||||
const path = `${resources}/anime.gif`;
|
||||
const info = await fileInfoService.getFileInfo(path, { skipSensitiveDetection: true }) as any;
|
||||
|
@ -134,7 +134,7 @@ describe('FileInfoService', () => {
|
|||
orientation: undefined,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test('PNG with alpha', async () => {
|
||||
const path = `${resources}/with-alpha.png`;
|
||||
const info = await fileInfoService.getFileInfo(path, { skipSensitiveDetection: true }) as any;
|
||||
|
@ -154,7 +154,7 @@ describe('FileInfoService', () => {
|
|||
orientation: undefined,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test('Generic SVG', async () => {
|
||||
const path = `${resources}/image.svg`;
|
||||
const info = await fileInfoService.getFileInfo(path, { skipSensitiveDetection: true }) as any;
|
||||
|
@ -174,7 +174,7 @@ describe('FileInfoService', () => {
|
|||
orientation: undefined,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test('SVG with XML definition', async () => {
|
||||
// https://github.com/misskey-dev/misskey/issues/4413
|
||||
const path = `${resources}/with-xml-def.svg`;
|
||||
|
@ -195,7 +195,7 @@ describe('FileInfoService', () => {
|
|||
orientation: undefined,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test('Dimension limit', async () => {
|
||||
const path = `${resources}/25000x25000.png`;
|
||||
const info = await fileInfoService.getFileInfo(path, { skipSensitiveDetection: true }) as any;
|
||||
|
@ -215,7 +215,7 @@ describe('FileInfoService', () => {
|
|||
orientation: undefined,
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test('Rotate JPEG', async () => {
|
||||
const path = `${resources}/rotate.jpg`;
|
||||
const info = await fileInfoService.getFileInfo(path, { skipSensitiveDetection: true }) as any;
|
||||
|
@ -257,7 +257,7 @@ describe('FileInfoService', () => {
|
|||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test('WAV', async () => {
|
||||
const path = `${resources}/kick_gaba7.wav`;
|
||||
const info = await fileInfoService.getFileInfo(path, { skipSensitiveDetection: true }) as any;
|
||||
|
@ -277,7 +277,7 @@ describe('FileInfoService', () => {
|
|||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test('AAC', async () => {
|
||||
const path = `${resources}/kick_gaba7.aac`;
|
||||
const info = await fileInfoService.getFileInfo(path, { skipSensitiveDetection: true }) as any;
|
||||
|
@ -297,7 +297,7 @@ describe('FileInfoService', () => {
|
|||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
test('FLAC', async () => {
|
||||
const path = `${resources}/kick_gaba7.flac`;
|
||||
const info = await fileInfoService.getFileInfo(path, { skipSensitiveDetection: true }) as any;
|
||||
|
@ -317,7 +317,7 @@ describe('FileInfoService', () => {
|
|||
},
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
/*
|
||||
* video/webmとして検出されてしまう
|
||||
test('WEBM AUDIO', async () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue