Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c509697

Browse files
committed
chore: remove unused exports
1 parent b51d7f8 commit c509697

File tree

3 files changed

+4
-16
lines changed

3 files changed

+4
-16
lines changed

site/e2e/constants.ts

-8
Original file line numberDiff line numberDiff line change
@@ -78,14 +78,6 @@ export const premiumTestsRequired = Boolean(
7878

7979
export const license = process.env.CODER_E2E_LICENSE ?? "";
8080

81-
/**
82-
* Certain parts of the UI change when organizations are enabled. Organizations
83-
* are enabled by a license entitlement, and license configuration is guaranteed
84-
* to run before any other tests, so having this as a bit of "global state" is
85-
* fine.
86-
*/
87-
export const organizationsEnabled = Boolean(license);
88-
8981
// Disabling terraform tests is optional for environments without Docker + Terraform.
9082
// By default, we opt into these tests.
9183
export const requireTerraformTests = !process.env.CODER_E2E_DISABLE_TERRAFORM;

site/e2e/helpers.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export async function login(page: Page, options: LoginOptions = users.owner) {
8181
(ctx as any)[Symbol.for("currentUser")] = options;
8282
}
8383

84-
export function currentUser(page: Page): LoginOptions {
84+
function currentUser(page: Page): LoginOptions {
8585
const ctx = page.context();
8686
// biome-ignore lint/suspicious/noExplicitAny: get the current user
8787
const user = (ctx as any)[Symbol.for("currentUser")];
@@ -875,7 +875,7 @@ export const echoResponsesWithExternalAuth = (
875875
};
876876
};
877877

878-
export const fillParameters = async (
878+
const fillParameters = async (
879879
page: Page,
880880
richParameters: RichParameter[] = [],
881881
buildParameters: WorkspaceBuildParameter[] = [],

site/package.json

+2-6
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,7 @@
192192
"vite-plugin-checker": "0.8.0",
193193
"vite-plugin-turbosnap": "1.0.3"
194194
},
195-
"browserslist": [
196-
"chrome 110",
197-
"firefox 111",
198-
"safari 16.0"
199-
],
195+
"browserslist": ["chrome 110", "firefox 111", "safari 16.0"],
200196
"resolutions": {
201197
"optionator": "0.9.3",
202198
"semver": "7.6.2"
@@ -213,4 +209,4 @@
213209
"prismjs": "1.30.0"
214210
}
215211
}
216-
}
212+
}

0 commit comments

Comments
 (0)