mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-12 21:53:00 -06:00
style(gateway): format portal method-order assertions
Rebase union-merge left the portal.list assertion wrapped; oxfmt fits it on one line.
This commit is contained in:
@@ -309,9 +309,7 @@ describe("listGatewayMethods", () => {
|
||||
expect(methods.indexOf("device.scopes.waitUpgrade")).toBe(
|
||||
methods.indexOf("device.scopes.requestUpgrade") + 1,
|
||||
);
|
||||
expect(methods.indexOf("portal.list")).toBe(
|
||||
methods.indexOf("device.scopes.waitUpgrade") + 1,
|
||||
);
|
||||
expect(methods.indexOf("portal.list")).toBe(methods.indexOf("device.scopes.waitUpgrade") + 1);
|
||||
expect(methods.indexOf("portal.open")).toBe(methods.indexOf("portal.list") + 1);
|
||||
expect(methods.indexOf("portal.close")).toBe(methods.indexOf("portal.open") + 1);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user