1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-01 06:55:47 +02:00

test(backend): enable typecheck by workflow (#13526)

This commit is contained in:
zyoshoka
2024-03-07 09:51:57 +09:00
committed by GitHub
parent 7ead98cbe5
commit 412e9f284d
7 changed files with 37 additions and 10 deletions

View File

@@ -90,7 +90,8 @@ describe('RelayService', () => {
expect(queueService.deliver).toHaveBeenCalled();
expect(queueService.deliver.mock.lastCall![1]?.type).toBe('Undo');
expect(queueService.deliver.mock.lastCall![1]?.object.type).toBe('Follow');
expect(typeof queueService.deliver.mock.lastCall![1]?.object).toBe('object');
expect((queueService.deliver.mock.lastCall![1]?.object as any).type).toBe('Follow');
expect(queueService.deliver.mock.lastCall![2]).toBe('https://example.com');
//expect(queueService.deliver.mock.lastCall![0].username).toBe('relay.actor');