title: TypeError: fn.call is not a function
body: <p>So I'm using Appium with WebdriverIO to run tests and right now I'm trying to call/reference functions from a dictionary file. But I keep getting "<code>TypeError: fn.call is not a function</code>" everytime I try to call the function from another file instead of copy pasting the function.</p>
  
  <p>Here's a snippet of the relevant codes:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>//File I'm trying to reference
  exports.toLoginPassword=function() {
        return client
          .waitForExist('android=new UiSelector().resourceId("com.orgname.dcpApp:id/frmAppLanding")')
          .setValue('android=new UiSelector().resourceId("com.orgname.dcpApp:id/tbxEntry")', input.username)
          .click('android=new UiSelector().resourceId("com.orgname.dcpApp:id/flxLoginActions")')
          .waitForExist('android=new UiSelector().resourceId("com.orgname.dcpApp:id/frmLoginPassword")')        
          .then(function (result){
            assert.equal(result, true)
          })
        }</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> describe('Log in', function() {
      it('should go to full login page', `${dictionary.toLoginPassword()}`)</code></pre>
  </div>
  </div>
  </p>
  
  <p>**********************SOLVED ALREADY****************************</p>