feat: add generator detection functions to utils #2923
93.75% of diff hit (target 91.23%)
View this Pull Request on Codecov
93.75% of diff hit (target 91.23%)
Annotations
Check warning on line 8 in packages/utils/test/is-async-generator.spec.ts
codecov / codecov/patch
packages/utils/test/is-async-generator.spec.ts#L8
Added line #L8 was not covered by tests
Check warning on line 29 in packages/utils/test/is-async-generator.spec.ts
codecov / codecov/patch
packages/utils/test/is-async-generator.spec.ts#L29
Added line #L29 was not covered by tests
Check warning on line 34 in packages/utils/test/is-async-generator.spec.ts
codecov / codecov/patch
packages/utils/test/is-async-generator.spec.ts#L34
Added line #L34 was not covered by tests
Check warning on line 8 in packages/utils/test/is-generator.spec.ts
codecov / codecov/patch
packages/utils/test/is-generator.spec.ts#L8
Added line #L8 was not covered by tests
Check warning on line 29 in packages/utils/test/is-generator.spec.ts
codecov / codecov/patch
packages/utils/test/is-generator.spec.ts#L29
Added line #L29 was not covered by tests
Check warning on line 34 in packages/utils/test/is-generator.spec.ts
codecov / codecov/patch
packages/utils/test/is-generator.spec.ts#L34
Added line #L34 was not covered by tests
Check warning on line 52 in packages/utils/test/is-promise.spec.ts
codecov / codecov/patch
packages/utils/test/is-promise.spec.ts#L52
Added line #L52 was not covered by tests
Check warning on line 57 in packages/utils/test/is-promise.spec.ts
codecov / codecov/patch
packages/utils/test/is-promise.spec.ts#L57
Added line #L57 was not covered by tests