Skip to content

Commit bc2562e

Browse files
committed
test: don't check for dynamic properties
1 parent 338c741 commit bc2562e

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

src/install-package.test.ts

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -25,24 +25,7 @@ test("package with some production dependencies", async () => {
2525
await temporaryDirectoryTask(async (dir) => {
2626
process.chdir(dir);
2727
const installedPackages = await installPackage("query-registry@2.6.0");
28-
expect(installedPackages).toStrictEqual(
29-
ok([
30-
"builtins@5.0.1",
31-
"isomorphic-unfetch@3.1.0",
32-
"lru-cache@6.0.0",
33-
"make-error@1.3.6",
34-
"node-fetch@2.7.0",
35-
"query-registry@2.6.0",
36-
"semver@7.6.0",
37-
"tiny-lru@8.0.2",
38-
"tr46@0.0.3",
39-
"unfetch@4.2.0",
40-
"url-join@4.0.1",
41-
"validate-npm-package-name@4.0.0",
42-
"webidl-conversions@3.0.1",
43-
"whatwg-url@5.0.0",
44-
"yallist@4.0.0",
45-
]),
46-
);
28+
expect(installedPackages.isOk()).toBe(true);
29+
expect(installedPackages._unsafeUnwrap()).toContain("query-registry@2.6.0");
4730
});
4831
});

0 commit comments

Comments
 (0)