()
| 26 | test('an empty plugin function', t => { |
| 27 | |
| 28 | var plugin = function() { |
| 29 | return { |
| 30 | init: function(instance) { |
| 31 | instance.plugged = true |
| 32 | } |
| 33 | } |
| 34 | }; |
| 35 | |
| 36 | var fsm = new StateMachine({ |
| 37 | plugins: [ plugin ] |
no outgoing calls
no test coverage detected