mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 15:47:28 +00:00
test: tighten twitch config assertion
This commit is contained in:
@@ -71,7 +71,10 @@ describe("getAccountConfig", () => {
|
||||
},
|
||||
};
|
||||
|
||||
expect(getAccountConfig(cfg, "SECONDARY\r\n")).toMatchObject({ username: "secondbot" });
|
||||
expect(getAccountConfig(cfg, "SECONDARY\r\n")).toEqual({
|
||||
username: "secondbot",
|
||||
accessToken: "oauth:secondary",
|
||||
});
|
||||
expect(getAccountConfig(cfg, "inherited")).toBeNull();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user