Skip to content

Commit

Permalink
Make sure isExternal flag set correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
caglarturali committed Oct 16, 2024
1 parent 99873e5 commit bbd3451
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/api/__tests__/fetchResumeData.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ describe('fetchResumeData', () => {
const res = await fetchResumeData();
expectTypeOf(res).toMatchTypeOf<ResumeResponse>();
expect(res.basics).toBeDefined();
expect(res.isExternal).toBe(false);
});

test('should fetch external resume data', async () => {
Expand All @@ -20,5 +21,6 @@ describe('fetchResumeData', () => {
const res = await fetchResumeData();
expectTypeOf(res).toMatchTypeOf<ResumeResponse>();
expect(res.basics).toBeDefined();
expect(res.isExternal).toBe(true);
});
});

0 comments on commit bbd3451

Please sign in to comment.