mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 22:54:31 +00:00
chore: migrate to oxlint and oxfmt
Co-authored-by: Christoph Nakazawa <christoph.pojer@gmail.com>
This commit is contained in:
@@ -30,8 +30,7 @@ describe("resolveDiscordPrivilegedIntentsFromFlags", () => {
|
||||
});
|
||||
|
||||
it("prefers enabled over limited when both set", () => {
|
||||
const flags =
|
||||
(1 << 12) | (1 << 13) | (1 << 14) | (1 << 15) | (1 << 18) | (1 << 19);
|
||||
const flags = (1 << 12) | (1 << 13) | (1 << 14) | (1 << 15) | (1 << 18) | (1 << 19);
|
||||
expect(resolveDiscordPrivilegedIntentsFromFlags(flags)).toEqual({
|
||||
presence: "enabled",
|
||||
guildMembers: "enabled",
|
||||
|
||||
Reference in New Issue
Block a user