Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make test expectation explicit
  • Loading branch information
BobLuursema committed Oct 1, 2025
commit d74900622a3f8eae0b169f4aaa48acf7b565a961
4 changes: 2 additions & 2 deletions tests/npmRegistryUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe(`npm registry utils fetchAsJson`, () => {
expect(fetchMock).lastCalledWith(new URL(`${DEFAULT_NPM_REGISTRY_URL}/package-name`), expect.objectContaining({
headers: {
...DEFAULT_HEADERS,
authorization: `Bearer ${process.env.COREPACK_NPM_TOKEN}`,
authorization: `Bearer foo`,
},
}));
});
Expand Down Expand Up @@ -110,7 +110,7 @@ describe(`npm registry utils fetchAsJson`, () => {
expect(fetchMock).lastCalledWith(new URL(`https://registry.example.org/some/path/package-name`), expect.objectContaining({
headers: {
...DEFAULT_HEADERS,
authorization: `Bearer ${process.env.COREPACK_NPM_TOKEN}`,
authorization: `Bearer foo`,
},
}));
});
Expand Down