Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ describe("License settings", () => {
expect(screen.getByText("Active")).toBeTruthy()
expect(screen.getByText("ada@example.com")).toBeTruthy()
expect(
screen.getByText(/Renews 10 Sept 2027|Renews Sep 10, 2027/)
screen.getByText(/Expires 10 Sept 2027|Expires Sep 10, 2027/)
).toBeTruthy()
expect(calls).toEqual([
{ method: "PUT", body: { certificate: CERTIFICATE } },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export function LicenseSettings() {
</p>
{status.expiry ? (
<p className="text-sm text-pretty text-muted-foreground tabular-nums">
{status.state === "active" ? "Renews" : "Ended"}{" "}
{status.state === "active" ? "Expires" : "Ended"}{" "}
{dateLabel(status.expiry)}
{status.max_users ? ` · ${status.max_users} seats` : ""}
</p>
Expand Down
Loading