mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-18 02:39:49 +00:00
Update areFunctionsEqual comment
This commit is contained in:
parent
91567cb5c7
commit
d6c8d77ceb
@ -25,9 +25,9 @@ ARGS =
|
||||
noMatch:
|
||||
_: [ 'foo', 'bar', 'baz' ]
|
||||
|
||||
# Hacky way to check that both functions are equal based
|
||||
# on what they returns, as mocha crashes when trying equal
|
||||
# or deep equal directly on the functions for some reason
|
||||
# Hacky way to check that both functions are equal
|
||||
# as mocha crashes when trying equal or deep equal
|
||||
# directly on the functions for some reason
|
||||
areFunctionsEqual = (fn1, fn2) ->
|
||||
return fn1.toString() is fn2.toString()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user