Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

fix(editor): point the corpus test at the moved fixture path

Sergey Kozyrenkod4c0880405e9
diff --git a/frontend/src/components/shared/markdown-editor/markdown-editor-corpus.test.ts b/frontend/src/components/shared/markdown-editor/markdown-editor-corpus.test.ts
index 08c184c0..76ddf729 100644
--- a/frontend/src/components/shared/markdown-editor/markdown-editor-corpus.test.ts
+++ b/frontend/src/components/shared/markdown-editor/markdown-editor-corpus.test.ts
@@ -27,7 +27,7 @@ const variables = (s: string) => s.match(/\{\{[^{}]*\}\}/g) ?? [];
const words = (s: string) => s.match(/[\p{L}\p{N}]+/gu) ?? [];
describe('corpus — every real prompt .tmpl survives the round-trip with no content loss', () => {
- const dir = join(__dirname, '..', '..', '..', '..', 'backend', 'pkg', 'templates', 'prompts');
+ const dir = join(__dirname, '..', '..', '..', '..', '..', 'backend', 'pkg', 'templates', 'prompts');
const files = readdirSync(dir).filter((file) => file.endsWith('.tmpl'));
for (const file of files) {