Skip to content

Commit b886dcb

Browse files
committed
fix: text split
1 parent 6c759a7 commit b886dcb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/cases/global/common/string/textSplitter.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,10 @@ FastGPT AI 相关参数配置说明
583583

584584
const normalizedChunks = simpleChunks(chunks);
585585
const normalizedExpected = simpleChunks(mock.result);
586-
586+
fs.writeFileSync(
587+
'/Volumes/code/fastgpt-pro/FastGPT/test/cases/global/common/string/test.md',
588+
JSON.stringify(normalizedChunks, null, 2)
589+
);
587590
expect(normalizedChunks).toEqual(normalizedExpected);
588591
});
589592

0 commit comments

Comments
 (0)