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.
config.test.js
1 parent 8163608 commit 9317593Copy full SHA for 9317593
tests/config.test.ts
@@ -9,6 +9,6 @@ describe(`key store should be up-to-date`, () => {
9
it(`should contain up-to-date npm keys`, async () => {
10
const r = await globalThis.fetch(new URL(`/-/npm/v1/keys`, DEFAULT_NPM_REGISTRY_URL));
11
expect(r.ok).toBe(true);
12
- expect(r.json()).resolves.toMatchObject({keys: defaultConfig.keys.npm});
+ await expect(r.json()).resolves.toMatchObject({keys: defaultConfig.keys.npm});
13
});
14
0 commit comments