Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

fb-test-module

bronovitch57ISC1.0.35TypeScript support: included

How to use:

 import  {store, getStore} from 'fb-test-module';
 conf.DialogramApi = "API_BASE_URL";
 conf.Platform = "mobile"; //use "web" if you are on webApp
 getStore();
 //Inject store in your provider
and you'r readyt to go.

Base

Act

readme

TestNpmModule

How to use:

import  {store, getStore} from 'fb-test-module';
conf.DialogramApi = "API_BASE_URL";
conf.Platform = "mobile"; //use "web" if you are on webApp
getStore();
//Inject store in your provider

and you'r readyt to go.

Base

Actions from 'fb-test-module/dist/BaseAction

-Logout

Session

Actions from 'fb-test-module/dist/Session/Actions'

  • createSession
  • removeSession

Selector from 'fb-test-module/dist/Session/Selector'

  • SessionHelper.getSessionStatus
  • SessionHelper.getSessionToken
  • SessionHelper.getSessionId
  • SessionHelper.getSessionUserId
  • SessionHelper.getSessionError

User

Actions from 'fb-test-module/dist/User/Actions'

  • getUser
  • removeUser

Selector from 'fb-test-module/dist/User/Selector'

  • UserHelper.getUserId
  • UserHelper.getUserStatus
  • UserHelper.getUserError
  • UserHelper.getUserNickname
  • UserHelper.getUserProfile
  • UserHelper.getUserEmail

Videos

Actions from 'fb-test-module/dist/Videos/Actions'

  • getAllVideo

    Selector from 'fb-test-module/dist/Videos/Selector'

  • VideoHelper.getVideoList