diff --git a/tests/commands/playlist/generate.test.ts b/tests/commands/playlist/generate.test.ts index 5489e54caa..39f38a8f36 100644 --- a/tests/commands/playlist/generate.test.ts +++ b/tests/commands/playlist/generate.test.ts @@ -4,7 +4,8 @@ import { EOL } from 'node:os' import * as fs from 'fs-extra' import * as glob from 'glob' -const ENV_VAR = 'cross-env STREAMS_DIR=tests/__data__/input/playlist_generate DATA_DIR=tests/__data__/input/data PUBLIC_DIR=tests/__data__/output/.gh-pages LOGS_DIR=tests/__data__/output/logs' +const ENV_VAR = + 'cross-env STREAMS_DIR=tests/__data__/input/playlist_generate DATA_DIR=tests/__data__/input/data PUBLIC_DIR=tests/__data__/output/.gh-pages LOGS_DIR=tests/__data__/output/logs' beforeEach(() => { fs.emptyDirSync('tests/__data__/output') @@ -26,7 +27,7 @@ describe('playlist:generate', () => { }) playlists.forEach((filepath: string) => { - expect(content(`tests/__data__/output/${filepath}`)).toBe( + expect(content(`tests/__data__/output/${filepath}`), filepath).toBe( content(`tests/__data__/expected/playlist_generate/${filepath}`) ) })