Unit testing using jest is done in the code. But Raw of typeorm is not covered
queryobj.where.name = Raw(
() =>
`( "Tag__templateTag__template"."state" = '${TemplateState.Published}')`,
)
Raw is tried mock using jest.fn() but
() =>
`( "Tag__templateTag__template"."state" = '${TemplateState.Published}')`,
)
is not covered