mirror of
https://github.com/documentationjs/documentation.git
synced 2025-12-08 18:23:43 +00:00
Test missed case in flatten
This commit is contained in:
parent
5878a2cca1
commit
494eeed284
@ -166,6 +166,14 @@ test('flatten', function (t) {
|
||||
return 0;
|
||||
})[0].callback, 'name', 'callback');
|
||||
|
||||
t.deepEqual(evaluate(function () {
|
||||
/** @module {string} name */
|
||||
return 0;
|
||||
})[0].module.type, {
|
||||
type: 'NameExpression',
|
||||
name: 'string'
|
||||
}, 'typed name');
|
||||
|
||||
t.deepEqual(evaluate(function () {
|
||||
/** @typedef {Object} name */
|
||||
return 0;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user