mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-14 14:10:45 +00:00
test: tighten android live string assertion
This commit is contained in:
@@ -59,7 +59,7 @@ function readString(value: unknown): string | null {
|
||||
|
||||
function expectNonEmptyString(value: unknown, label: string): string {
|
||||
const text = readString(value);
|
||||
expect(text, label).toEqual(expect.any(String));
|
||||
expect(text, label).not.toBeNull();
|
||||
return text as string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user