Skip to content

Commit 9317593

Browse files
authored
chore(tests): await promise in config.test.js (#639)
1 parent 8163608 commit 9317593

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/config.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ describe(`key store should be up-to-date`, () => {
99
it(`should contain up-to-date npm keys`, async () => {
1010
const r = await globalThis.fetch(new URL(`/-/npm/v1/keys`, DEFAULT_NPM_REGISTRY_URL));
1111
expect(r.ok).toBe(true);
12-
expect(r.json()).resolves.toMatchObject({keys: defaultConfig.keys.npm});
12+
await expect(r.json()).resolves.toMatchObject({keys: defaultConfig.keys.npm});
1313
});
1414
});

0 commit comments

Comments
 (0)