diff --git a/tests/build-newsroom-videos.test.js b/tests/build-newsroom-videos.test.js index f49a55e96a55..494f91f27341 100644 --- a/tests/build-newsroom-videos.test.js +++ b/tests/build-newsroom-videos.test.js @@ -9,7 +9,7 @@ jest.mock('node-fetch-2', () => jest.fn()); describe('buildNewsroomVideos', () => { const testDir = join(os.tmpdir(), 'test_config'); - const testFilePath = join(testDir, 'newsroom_videos.json'); + const testFilePath = resolve(testDir, 'newsroom_videos.json'); beforeAll(() => { mkdirpSync(testDir);