-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
feat(billing): allow _admin to start product trial for enterprise orgs #93570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #93570 +/- ##
==========================================
- Coverage 83.12% 83.10% -0.02%
==========================================
Files 10324 10326 +2
Lines 595574 595663 +89
Branches 23135 23137 +2
==========================================
+ Hits 495045 495050 +5
- Misses 100035 100120 +85
+ Partials 494 493 -1 |
6fc6e40
to
96693c8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, just some small suggestions
expect(screen.getByText('Spans:')).toBeInTheDocument(); | ||
expect(screen.getByText('Seer:')).toBeInTheDocument(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a reason we just test for these two?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooops, I forgot to add those back after playing around with the test file.
Good catch!
@@ -367,7 +367,7 @@ describe('CustomerOverview', function () { | |||
expect(screen.queryByText('Seer:')).not.toBeInTheDocument(); | |||
}); | |||
|
|||
it('renders no product trials for non-self-serve account', function () { | |||
it('renders product trials for non-self-serve account', function () { | |||
const organization = OrganizationFixture(); | |||
const enterprise_subscription = SubscriptionFixture({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i realized we can just use InvoicedSubscriptionFixture
instead of having to overwrite canSelfServe
here
Co-authored-by: Isabella Enriquez <[email protected]>
#93570) Co-authored-by: Isabella Enriquez <[email protected]>
No description provided.