title: TypeError: expect(...).to.startsWith is not a function - chai and chakram
body: <p>I started writing some automation tests(API)</p>
  
  <p>Now I tried to do to this endpoint:</p>
  
  <p><a href="https://dog.ceo/api/breeds/image/random" rel="noreferrer">https://dog.ceo/api/breeds/image/random</a></p>
  
  <p>so I added into my function</p>
  
  <pre><code>expect(response.body.message).to.startsWith('https://images.dog.ceo/breeds/');   
  </code></pre>
  
  <p>and at the beginning of the test:</p>
  
  <pre><code>    var chakram = require('chakram');
  var chai = require('chai');  
  chai.use(require('chai-string'))
  expect = chai.expect;    // Using Expect style
  expect = chakram.expect;
  </code></pre>
  
  <p>Earlier I did not have any problems but with this "expect starts..." after running test I got:
  TypeError: expect(...).to.startsWith is not a function - chai and chakram</p>
  
  <p>Can anyone help me?</p>
  
  <p>thanks</p>