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