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 aec760b commit 3f8424cCopy full SHA for 3f8424c
1 file changed
test/unit/server/utils/docs/client.spec.ts
@@ -8,7 +8,7 @@ vi.mock('@deno/doc', () => ({
8
9
// Mock encodePackageName
10
vi.mock('#shared/utils/npm', () => ({
11
- encodePackageName: (name: string) => name.replace('/', '%2f'),
+ encodePackageName: (name: string) => name.replaceAll('/', '%2f'),
12
}))
13
14
// Mock Nitro globals before importing the module.
0 commit comments