Skip to content

Commit

Permalink
fix: Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
swetabar committed Sep 17, 2024
1 parent 0f974a7 commit 5eed3b5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ describe('Import Url Tests', () => {
const mockImportUrl = {
id: 'test-id',
status: 'RUNNING',
jobId: 'test-job-id',
url: 'https://www.test.com',
};
await exportedFunctions.createNewImportUrl(mockImportUrl);
Expand All @@ -80,6 +81,7 @@ describe('Import Url Tests', () => {
it('should update an existing importUrl with the correct status', async () => {
const mockImportUrl = {
id: 'test-id',
jobId: 'test-job-id',
status: 'RUNNING',
url: 'https://www.test.com',
};
Expand All @@ -97,6 +99,7 @@ describe('Import Url Tests', () => {
it('should throw an error when the importUrl does not exist', async () => {
const mockImportUrl = {
id: 'test-id',
jobId: 'test-job-id',
status: 'RUNNING',
url: 'https://www.test.com',
};
Expand Down

0 comments on commit 5eed3b5

Please sign in to comment.