blessing-skin-server/resources/assets/tests/ts-shims/notify.ts
2019-03-17 21:09:46 +08:00

17 lines
409 B
TypeScript

import * as notify from '../../src/js/notify'
export const showAjaxError = {} as jest.Mock<
ReturnType<typeof notify.showAjaxError>,
Parameters<typeof notify.showAjaxError>
>
export const showModal = {} as jest.Mock<
ReturnType<typeof notify.showModal>,
Parameters<typeof notify.showModal>
>
export const swal = {} as jest.Mock<
ReturnType<typeof notify.swal>,
Parameters<typeof notify.swal>
>