Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark van der Steenhoven committed Oct 30, 2023
1 parent 7bba62c commit 70cc02f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
});

0 comments on commit 70cc02f

Please sign in to comment.