style: wrap long runtime and test lines

This commit is contained in:
Peter Steinberger 2026-04-04 15:24:03 +09:00
parent b379dac798
commit 3d55b28853
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View File

@ -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).",

View File

@ -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)) {