From 70cc02fd989e01facbd07c2af2141ec8b213c6cb Mon Sep 17 00:00:00 2001 From: Mark van der Steenhoven Date: Mon, 30 Oct 2023 13:33:19 +0100 Subject: [PATCH] fixed test --- src/index.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.spec.ts b/src/index.spec.ts index f5954ac..473ef00 100644 --- a/src/index.spec.ts +++ b/src/index.spec.ts @@ -4,7 +4,7 @@ import { getCitiesDataToJson } from './getCities'; describe('writeCitiesToDist', () => { it('should write cities to file and check if it exists', async () => { await getCitiesDataToJson(); - const fileExists = fs.existsSync('dist/cities.json'); + const fileExists = fs.existsSync('src/cities.json'); expect(fileExists).toBe(true); }); });