aboutsummaryrefslogtreecommitdiff
path: root/test/cli/install/bun-add.test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'test/cli/install/bun-add.test.ts')
-rw-r--r--test/cli/install/bun-add.test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/cli/install/bun-add.test.ts b/test/cli/install/bun-add.test.ts
index 310341560..0f3f13895 100644
--- a/test/cli/install/bun-add.test.ts
+++ b/test/cli/install/bun-add.test.ts
@@ -20,7 +20,7 @@ import {
beforeAll(dummyBeforeAll);
afterAll(dummyAfterAll);
-let add_dir;
+let add_dir: string;
beforeEach(async () => {
add_dir = await mkdtemp(join(await realpath(tmpdir()), "bun-add.test"));
@@ -860,7 +860,7 @@ it("should handle Git URL in dependencies (SCP-style)", async () => {
});
it("should prefer optionalDependencies over dependencies of the same name", async () => {
- const urls = [];
+ const urls: string[] = [];
setHandler(
dummyRegistry(urls, {
"0.0.2": {
@@ -920,7 +920,7 @@ it("should prefer optionalDependencies over dependencies of the same name", asyn
});
it("should prefer dependencies over peerDependencies of the same name", async () => {
- const urls = [];
+ const urls: string[] = [];
setHandler(
dummyRegistry(urls, {
"0.0.2": {