A set of integration tests that can be included in you FileFog Provider module and used to testyour provider against the current FileFog API.
/** * Test runner dependencies */varmocha=require('mocha');varTestRunner=require('filefog-provider-tests');/** * Integration Test Runner * * Uses the `filefog-provider-tests` module to * run mocha tests against the specified interfaces * of the currently-implemented Filefog API. */newTestRunner({// Load the provider module.definition:require('./relative/path/to/your/provider'),// Each provider will have different requirements, OAuth providers will require client_key's and client_secrets,whilethelocalprovideronlyrequiresabase_directory.Checkthe[Reference](https://github.com/filefog/filefog-docs/blob/master/provider-specification.md) docforadditionalinteraces,orcreateyourown.config:{client_key :'777041726477-a5o1tp6f3i9m1me3tj5vhpnrn1jge43c.apps.googleusercontent.com',client_secret :'mWURYHmMKZxr6aeR7DTjRu-q',client_scope :"https://www.googleapis.com/auth/drive",redirect_url :'http://localhost:3000/service/callback/google'},// The set of adapter interfaces to test against.interfaces:["oauth","events","webhooks"]});See LICENSE.md.