Skip to content

Conversation

@rohitvinnakota-codecov
Copy link
Contributor

This PR adds tests for #3811

Commits:

  • Add unit tests for Topic implementations in space.ts

@seer-by-sentry
Copy link
Contributor

seer-by-sentry bot commented Mar 17, 2025

✅ Sentry found no issues in your recent changes ✅

@codecov-staging
Copy link

❌ 6 Tests Failed:

Tests completed Failed Passed Skipped
4243 6 4237 2
View the top 3 failed test(s) by shortest run time
src/services/codecovAI/space.test.ts > Topic implementations > TechnologyTopic > has the correct id and name
Stack Traces | 0.000439s run time
TypeError: TechnologyTopic is not a constructor
 ❯ .../services/codecovAI/space.test.ts:52:21
src/services/codecovAI/space.test.ts > Topic implementations > CookingTopic > has the correct id and name
Stack Traces | 0.000541s run time
TypeError: CookingTopic is not a constructor
 ❯ .../services/codecovAI/space.test.ts:30:21
src/services/codecovAI/space.test.ts > Topic implementations > CookingTopic > returns a valid cooking fact
Stack Traces | 0.000546s run time
TypeError: CookingTopic is not a constructor
 ❯ .../services/codecovAI/space.test.ts:37:21

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@codecov
Copy link

codecov bot commented Mar 17, 2025

❌ 6 Tests Failed:

Tests completed Failed Passed Skipped
5059 6 5053 3
View the top 3 failed test(s) by shortest run time
src/services/codecovAI/space.test.ts > Topic implementations > TechnologyTopic > has the correct id and name
Stack Traces | 0.000439s run time
TypeError: TechnologyTopic is not a constructor
 ❯ .../services/codecovAI/space.test.ts:52:21
src/services/codecovAI/space.test.ts > Topic implementations > CookingTopic > has the correct id and name
Stack Traces | 0.000541s run time
TypeError: CookingTopic is not a constructor
 ❯ .../services/codecovAI/space.test.ts:30:21
src/services/codecovAI/space.test.ts > Topic implementations > CookingTopic > returns a valid cooking fact
Stack Traces | 0.000546s run time
TypeError: CookingTopic is not a constructor
 ❯ .../services/codecovAI/space.test.ts:37:21

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@codecov-public-qa
Copy link

❌ 6 Tests Failed:

Tests completed Failed Passed Skipped
3584 6 3578 0
View the top 3 failed tests by shortest run time
src/services/codecovAI/space.test.ts > Topic implementations > TechnologyTopic > has the correct id and name
Stack Traces | 0.000439s run time
TypeError: TechnologyTopic is not a constructor
 ❯ .../services/codecovAI/space.test.ts:52:21
src/services/codecovAI/space.test.ts > Topic implementations > CookingTopic > has the correct id and name
Stack Traces | 0.000541s run time
TypeError: CookingTopic is not a constructor
 ❯ .../services/codecovAI/space.test.ts:30:21
src/services/codecovAI/space.test.ts > Topic implementations > CookingTopic > returns a valid cooking fact
Stack Traces | 0.000546s run time
TypeError: CookingTopic is not a constructor
 ❯ .../services/codecovAI/space.test.ts:37:21

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants