E2E Tests: Fix ESLint errors

Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
David Mehren 2021-04-29 22:06:45 +02:00
parent d4495a0a62
commit 2e5d40432e
No known key found for this signature in database
GPG key ID: 185982BA4C42B7C3
2 changed files with 3 additions and 3 deletions

View file

@ -134,7 +134,7 @@ describe('Media', () => {
'hardcoded',
'test_upload_media',
);
const filename = url.split('/').pop();
const filename = url.split('/').pop() || '';
await request(app.getHttpServer())
.delete('/media/' + filename)
.expect(204);