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
10 changes: 4 additions & 6 deletions registry/coder/modules/jfrog-oauth/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@ describe("jfrog-oauth", async () => {
const fakeFrogUrl = "http://localhost:8081";
const user = "default";

it("can run apply with required variables", async () => {
testRequiredVariables<TestVariables>(import.meta.dir, {
agent_id: "some-agent-id",
jfrog_url: fakeFrogUrl,
package_managers: "{}",
});
testRequiredVariables<TestVariables>(import.meta.dir, {
agent_id: "some-agent-id",
jfrog_url: fakeFrogUrl,
package_managers: "{}",
});

it("generates an npmrc with scoped repos", async () => {
Expand Down
12 changes: 5 additions & 7 deletions registry/coder/modules/jfrog-token/main.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,11 @@ describe("jfrog-token", async () => {
const user = "default";
const token = "xxx";

it("can run apply with required variables", async () => {
testRequiredVariables<TestVariables>(import.meta.dir, {
agent_id: "some-agent-id",
jfrog_url: fakeFrogUrl,
artifactory_access_token: "XXXX",
package_managers: "{}",
});
testRequiredVariables<TestVariables>(import.meta.dir, {
agent_id: "some-agent-id",
jfrog_url: fakeFrogUrl,
artifactory_access_token: "XXXX",
package_managers: "{}",
});

it("generates an npmrc with scoped repos", async () => {
Expand Down