perf: slim whatsapp test helper imports · openclaw/openclaw@d3dd61f
steipete
·
2026-04-24
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | import fsSync from "node:fs"; |
2 | 2 | import fs from "node:fs/promises"; |
3 | 3 | import path from "node:path"; |
4 | | -import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/text-runtime"; |
| 4 | +import { normalizeLowercaseStringOrEmpty } from "openclaw/plugin-sdk/string-coerce-runtime"; |
5 | 5 | import { vi } from "vitest"; |
6 | 6 | import { formatEnvelopeTimestamp } from "../../../test/helpers/envelope-timestamp.js"; |
7 | 7 | import type { MockBaileysSocket } from "../../../test/mocks/baileys.js"; |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。