Merge remote-tracking branch 'misskey-dev/develop' into io

This commit is contained in:
まっちゃとーにゅ 2024-03-15 13:08:54 +09:00
commit acab2bfc72
No known key found for this signature in database
GPG key ID: 6AFBBF529601C1DB
83 changed files with 1149 additions and 173 deletions

View file

@ -130,7 +130,7 @@ describe('RoleService', () => {
policies: {
canManageCustomEmojis: false,
},
} as any);
} as FIXME);
const result = await roleService.getUserPolicies(user.id);
@ -143,7 +143,7 @@ describe('RoleService', () => {
policies: {
canManageCustomEmojis: true,
},
} as any);
} as FIXME);
const result = await roleService.getUserPolicies(user.id);
@ -167,7 +167,7 @@ describe('RoleService', () => {
policies: {
canManageCustomEmojis: false,
},
} as any);
} as FIXME);
const result = await roleService.getUserPolicies(user.id);
@ -202,7 +202,7 @@ describe('RoleService', () => {
policies: {
driveCapacityMb: 50,
},
} as any);
} as FIXME);
const result = await roleService.getUserPolicies(user.id);
@ -246,7 +246,7 @@ describe('RoleService', () => {
policies: {
canManageCustomEmojis: false,
},
} as any);
} as FIXME);
const user1Policies = await roleService.getUserPolicies(user1.id);
const user2Policies = await roleService.getUserPolicies(user2.id);
@ -299,7 +299,7 @@ describe('RoleService', () => {
policies: {
canManageCustomEmojis: false,
},
} as any);
} as FIXME);
const result = await roleService.getUserPolicies(user.id);
expect(result.canManageCustomEmojis).toBe(true);