Files
core/test/mock/processors/counting.mock.ts
2023-01-17 19:10:53 +08:00

19 lines
411 B
TypeScript

import { defineProvider } from 'test/helper/defineProvider'
import { CountingService } from '~/processors/helper/helper.counting.service'
export const countingServiceProvider = defineProvider({
useValue: {
async updateLikeCount() {
return true
},
async getThisRecordIsLiked() {
return true
},
async updateReadCount() {
return
},
},
provide: CountingService,
})