mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 01:23:29 +00:00
fix: normalize gateway dev mode detection
This commit is contained in:
@@ -48,8 +48,6 @@ describe("expandTextLinks", () => {
|
||||
it("preserves offsets from the original string", () => {
|
||||
const text = " Hello world";
|
||||
const entities = [{ type: "text_link", offset: 1, length: 5, url: "https://example.com" }];
|
||||
expect(expandTextLinks(text, entities)).toBe(
|
||||
" [Hello](https://example.com) world",
|
||||
);
|
||||
expect(expandTextLinks(text, entities)).toBe(" [Hello](https://example.com) world");
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user