diff --git a/src/tests/metadata.test.ts b/src/tests/metadata.test.ts index 650246b..0cb737c 100644 --- a/src/tests/metadata.test.ts +++ b/src/tests/metadata.test.ts @@ -7,7 +7,7 @@ import { mkdir } from 'node:fs/promises'; import { join } from 'node:path'; try { - await mkdir(join('src', 'tests', 'results')); + await mkdir(join('fixtures', 'results')); } catch (err) { // empty } @@ -31,11 +31,7 @@ describe('Metadata service', () => { prependUnicode: true, }); - await writeFile( - join('fixtures', 'results', 'plop.svg'), - 'plop', - 'utf-8', - ); + await writeFile(join('fixtures', 'results', 'plop.svg'), 'plop', 'utf-8'); const infos = await promisify(metadataService)( join('fixtures', 'results', 'plop.svg'), );