Skip to content

Commit 439da92

Browse files
jeanibarzclaude
andcommitted
test: update test names to reflect as-const refactor
Rename "enum" to "constant" in two test descriptors to match the refactor in the parent commit: - "should export CreateButtonType enum" -> "...constant" - describe("Enum Exports") -> describe("Constant Exports") Keeps test names truthful; neighboring test already uses the "constant" phrasing (see "should export DEFAULT_METHOD constant"). No behavior change. Co-authored-by: Claude <noreply@anthropic.com>
1 parent c9d40ef commit 439da92

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

web/app/components/plugins/plugin-detail-panel/subscription-list/create/__tests__/index.spec.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1437,7 +1437,7 @@ describe('CreateSubscriptionButton', () => {
14371437

14381438
// ==================== Export Verification ====================
14391439
describe('Export Verification', () => {
1440-
it('should export CreateButtonType enum', () => {
1440+
it('should export CreateButtonType constant', () => {
14411441
// Assert
14421442
expect(CreateButtonType.FULL_BUTTON).toBe('full-button')
14431443
expect(CreateButtonType.ICON_BUTTON).toBe('icon-button')

web/app/components/plugins/plugin-detail-panel/subscription-list/create/hooks/__tests__/use-oauth-client-state.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ describe('useOAuthClientState', () => {
714714
})
715715
})
716716

717-
describe('Enum Exports', () => {
717+
describe('Constant Exports', () => {
718718
it('should export AuthorizationStatusEnum', () => {
719719
expect(AuthorizationStatusEnum.Pending).toBe('pending')
720720
expect(AuthorizationStatusEnum.Success).toBe('success')

0 commit comments

Comments
 (0)