Avoid leaked var in _.before test.

This commit is contained in:
John-David Dalton
2016-10-15 17:36:30 -07:00
parent 7717b8aa64
commit cafb5e1331

View File

@@ -222,10 +222,7 @@
'throttle repeatedly with results': true, 'throttle repeatedly with results': true,
'more throttle does not trigger leading call when leading is set to false': true, 'more throttle does not trigger leading call when leading is set to false': true,
'throttle does not trigger trailing call when trailing is set to false': true, 'throttle does not trigger trailing call when trailing is set to false': true,
'before': [ 'before': true,
'stores a memo to the last value',
'provides context'
],
'bind': [ 'bind': [
'Died on test #2' 'Died on test #2'
], ],