mirror of https://github.com/openclaw/openclaw.git
style: wrap long runtime and test lines
This commit is contained in:
parent
b379dac798
commit
3d55b28853
|
|
@ -160,11 +160,9 @@ describe("matrix doctor", () => {
|
|||
expect(result.config.channels?.matrix?.groups?.["!ops:example.org"]).toEqual({
|
||||
enabled: true,
|
||||
});
|
||||
expect(result.config.channels?.matrix?.accounts?.work?.rooms?.["!legacy:example.org"]).toEqual(
|
||||
{
|
||||
enabled: false,
|
||||
},
|
||||
);
|
||||
expect(result.config.channels?.matrix?.accounts?.work?.rooms?.["!legacy:example.org"]).toEqual({
|
||||
enabled: false,
|
||||
});
|
||||
expect(result.changes).toEqual(
|
||||
expect.arrayContaining([
|
||||
"Moved channels.matrix.groups.!ops:example.org.allow → channels.matrix.groups.!ops:example.org.enabled (true).",
|
||||
|
|
|
|||
|
|
@ -40,7 +40,9 @@ export const __testing = new Proxy({} as typeof managerTesting & typeof registry
|
|||
return Reflect.has(managerTesting, prop) || Reflect.has(registryTesting, prop);
|
||||
},
|
||||
ownKeys() {
|
||||
return Array.from(new Set([...Reflect.ownKeys(managerTesting), ...Reflect.ownKeys(registryTesting)]));
|
||||
return Array.from(
|
||||
new Set([...Reflect.ownKeys(managerTesting), ...Reflect.ownKeys(registryTesting)]),
|
||||
);
|
||||
},
|
||||
getOwnPropertyDescriptor(_target, prop) {
|
||||
if (Reflect.has(managerTesting, prop) || Reflect.has(registryTesting, prop)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue