add to the assertion

This commit is contained in:
forresst 2020-01-28 09:05:22 +01:00
parent 1264ed0c87
commit 8871807d1b
2 changed files with 8 additions and 1 deletions

View file

@ -235,6 +235,7 @@ const types = new Map<string, Test>([
}],
['asyncGenerator', {
is: is.asyncGenerator,
assert: assert.asyncGenerator,
fixtures: [
(async function * () {
yield 4;
@ -255,12 +256,14 @@ const types = new Map<string, Test>([
}],
['asyncGeneratorFunction', {
is: is.asyncGeneratorFunction,
assert: assert.asyncGeneratorFunction,
fixtures: [
async function * () {
yield 4;
}
],
typename: TypeName.Function
typename: TypeName.Function,
typeDescription: TypeName.AsyncGeneratorFunction
}],
['asyncFunction', {
is: is.asyncFunction,