| 1234567891011121314 |
- import { QUERY_TYPE } from '~/types/enums'
- import BaseHook from '~/services/dataPersister/hook/baseHook'
- import { DataPersisterArgs } from '~/types/interfaces'
- class DummyHook extends BaseHook {}
- describe('support()', () => {
- it('should trow an error if support doesnt defined in DummyHook', () => {
- const args:DataPersisterArgs = {
- type: QUERY_TYPE.DEFAULT
- }
- expect(() => DummyHook.support(args)).toThrow()
- })
- })
|