Skip to content

Conversation

DevelopmentCats
Copy link
Contributor

@DevelopmentCats DevelopmentCats commented Sep 30, 2025

Description

Remove it wrappers from required variables tf test in jfrog-oauth and jfrog-token modules. This solves the failing tf tests that we were encountering in all PR's across the board.

Type of Change

  • New module
  • Bug fix
  • Feature/enhancement
  • Documentation
  • Other

Testing & Validation

  • Tests pass (bun test)
  • Code formatted (bun run fmt)
  • Changes tested locally

Related Issues

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors test code by removing unnecessary it wrapper blocks from required variables tests in the jfrog-oauth and jfrog-token modules. The change simplifies the test structure by calling testRequiredVariables directly within the describe block instead of wrapping it in individual test cases.

  • Removes it wrapper blocks from testRequiredVariables calls
  • Simplifies test structure in both modules

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
registry/coder/modules/jfrog-token/main.test.ts Removes it wrapper from required variables test
registry/coder/modules/jfrog-oauth/main.test.ts Removes it wrapper from required variables test

@DevelopmentCats DevelopmentCats marked this pull request as ready for review September 30, 2025 00:14
@DevelopmentCats DevelopmentCats merged commit 80f429f into main Sep 30, 2025
4 checks passed
@DevelopmentCats DevelopmentCats deleted the cat/jfrog-test-fix branch September 30, 2025 12:44
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