Skip to content

Commit bb3ffdb

Browse files
committed
test: remove bad test
Test assumed that deps command can take multiple --registry args but it only takes 1
1 parent 3230491 commit bb3ffdb

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

test/e2e/deps.test.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { ResultCodes } from "../../src/cli/result-codes";
2-
import { openupmRegistryUrl } from "../../src/domain/registry-url";
32
import { runOpenupm } from "./run";
43
import { prepareHomeDirectory } from "./setup/directories";
5-
import { e2eTestRegistryUrl } from "./setup/test-registry";
64

75
describe("print package dependencies", () => {
86
it("should print dependencies for an openupm package with version", async () => {
@@ -40,27 +38,6 @@ describe("print package dependencies", () => {
4038
);
4139
});
4240

43-
it("should print dependencies for package with mix of 3rd party, openupm and unity dependencies", async () => {
44-
const homeDir = await prepareHomeDirectory();
45-
46-
const output = await runOpenupm(homeDir, [
47-
"deps",
48-
49-
"--registry",
50-
e2eTestRegistryUrl,
51-
openupmRegistryUrl,
52-
]);
53-
54-
expect(output.code).toEqual(ResultCodes.Ok);
55-
expect(output.stdErr).toEqual(
56-
expect.arrayContaining([
57-
expect.stringContaining("[email protected]"),
58-
expect.stringContaining("[email protected]"),
59-
expect.stringContaining("[email protected]"),
60-
])
61-
);
62-
});
63-
6441
it("should print built-in dependencies", async () => {
6542
// See https://github.com/openupm/openupm-cli/issues/133
6643
const homeDir = await prepareHomeDirectory();

0 commit comments

Comments
 (0)