test(context): update wiki key assertion

This commit is contained in:
Andrey Avtomonov 2026-05-12 22:50:33 +02:00
parent f138ead5be
commit 28a707af8f

View file

@ -617,7 +617,7 @@ describe('createLocalProjectMcpContextPorts', () => {
userId: 'local-user',
key: '../outside',
}),
).rejects.toThrow('Unsafe knowledge key');
).rejects.toThrow('Invalid wiki key "../outside". Wiki keys must be flat; use "outside".');
await expect(
ports.semanticLayer?.readSource({