Fix "type" is not defined issue on TinyTest.

This commit is contained in:
Matheus Castro
2022-10-31 21:27:46 -03:00
parent 47d4e825e7
commit 898800a302

View File

@@ -451,7 +451,7 @@ Template.test.helpers({
eventsArray: function() {
var events = this.events.filter(function(e) {
return e[type] != "finish";
return e.type !== "finish";
});
var partitionBy = function(seq, func) {
@@ -583,4 +583,4 @@ Template.event.helpers({
is_debuggable: function() {
return !!this.cookie;
}
});
});