REFACTOR: Remove _.first from codebase

This commit is contained in:
Robin Ward
2020-08-31 16:41:42 -04:00
parent 55c9c54b8b
commit 66021abe41
5 changed files with 13 additions and 7 deletions

View File

@ -267,7 +267,7 @@ QUnit.assert.present = function(actual, message) {
};
QUnit.assert.containsInstance = function(collection, klass, message) {
const result = klass.detectInstance(_.first(collection));
const result = klass.detectInstance(collection[0]);
this.pushResult({
result,
message