Open noomorph opened 4 months ago
Currently, it's hard to type separately options.testCase.description , etc.
options.testCase.description
I have to use clumsy constructs like:
import type { TestCaseCustomizer, TestCaseExtractorContext, TestFileExtractorContext, TestRunExtractorContext, } from 'jest-allure2-reporter'; type TestCaseLikeContext = | TestCaseExtractorContext | TestFileExtractorContext | TestRunExtractorContext; export const descriptionHtml: TestCaseCustomizer<TestCaseLikeContext>['descriptionHtml'] = async ({ $, result }) => { return $.markdown2html(result.description); };
Isn't that too much? 🤔
Currently, it's hard to type separately
options.testCase.description
, etc.I have to use clumsy constructs like:
Isn't that too much? 🤔