style: add prettier and format codebase
This commit is contained in:
parent
bf459740fe
commit
2f58ac7bf8
18 changed files with 151 additions and 70 deletions
|
|
@ -14,8 +14,7 @@ function createMockClient(overrides: Partial<TorrentClawClient> = {}) {
|
|||
getTorrentDownloadUrl: vi
|
||||
.fn()
|
||||
.mockImplementation(
|
||||
(hash: string) =>
|
||||
`https://torrentclaw.com/api/v1/torrent/${hash}`,
|
||||
(hash: string) => `https://torrentclaw.com/api/v1/torrent/${hash}`,
|
||||
),
|
||||
...overrides,
|
||||
} as unknown as TorrentClawClient;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue