In the following case:
var mock = {};
var mock2 = [];
var mockedThing = td.object(mock);
var mockedThing2 = td.object(mock2);
The object-creation rule will not report any warnings. It seems like it should be possible to find the Identifier definition type, to accurately report on the rule.
In the following case:
The
object-creationrule will not report any warnings. It seems like it should be possible to find theIdentifierdefinition type, to accurately report on the rule.