Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.
/ catbox-fake Public archive

Fake catbox engine used to test catbox-fallback.

License

Notifications You must be signed in to change notification settings

tractr/catbox-fake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Catbox Fake

Fake catbox is a mock engine used to test catbox-fallback. It can be used to test other things.

Lead maintainer: Simon Lévesque

Current version: Current Version Build Status

Options

  • 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 error
      • enable - A boolean to enable or not this feature
    • ready: function(enable) - tells the engine to say if it is ready or not
      • enable - A boolean for the ready status
    • delay: function(value) - tells the engine to wait a while before returning
      • value - A number for milliseconds

About

Fake catbox engine used to test catbox-fallback.

Resources

License

Stars

Watchers

Forks

Packages

No packages published