mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-28 18:33:37 +00:00
refactor: centralize bootstrap profile handling
This commit is contained in:
@@ -56,8 +56,10 @@ describe("pairing setup code", () => {
|
||||
expect(resolved.payload.bootstrapToken).toBe("bootstrap-123");
|
||||
expect(issueDeviceBootstrapTokenMock).toHaveBeenCalledWith(
|
||||
expect.objectContaining({
|
||||
roles: ["node"],
|
||||
scopes: [],
|
||||
profile: {
|
||||
roles: ["node"],
|
||||
scopes: [],
|
||||
},
|
||||
}),
|
||||
);
|
||||
if (params.url) {
|
||||
|
||||
Reference in New Issue
Block a user