We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4993fde commit 6bf7782Copy full SHA for 6bf7782
test/packages/npm.test.ts
@@ -6,7 +6,11 @@ test("npm@11.4.0", async () => {
6
await getPackageApi({
7
pkg: "npm@11.4.0",
8
}),
9
- ).rejects.toThrow();
+ ).toMatchSnapshot({
10
+ analyzedAt: expect.any(String),
11
+ analyzedIn: expect.any(Number),
12
+ dependencies: expect.any(Array),
13
+ });
14
});
15
16
test("@types/npm@7.19.3", async () => {
0 commit comments