Fake catbox is a mock engine used to test catbox-fallback. It can be used to test other things.
Lead maintainer: Simon Lévesque
trojan: function(methods)
- A function that will be called on client initialization. This methods receives as first argument an object containing client's special methods. The object has these properties:throw: function(enable)
- tells the engine to always throw an errorenable
- A boolean to enable or not this feature
ready: function(enable)
- tells the engine to say if it is ready or notenable
- A boolean for the ready status
delay: function(value)
- tells the engine to wait a while before returningvalue
- A number for milliseconds