mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2025-01-06 13:34:50 +08:00
19 lines
398 B
TypeScript
19 lines
398 B
TypeScript
import * as net from '../../src/js/net'
|
|
|
|
export const init = {} as typeof net.init
|
|
|
|
export const walkFetch = {} as jest.Mock<
|
|
ReturnType<typeof net.walkFetch>,
|
|
Parameters<typeof net.walkFetch>
|
|
>
|
|
|
|
export const get = {} as jest.Mock<
|
|
ReturnType<typeof net.get>,
|
|
Parameters<typeof net.get>
|
|
>
|
|
|
|
export const post = {} as jest.Mock<
|
|
ReturnType<typeof net.post>,
|
|
Parameters<typeof net.post>
|
|
>
|