title: sequelize sync is not a function
body: <p>I am trying to set up a test using mocha with sequelize. I'd like to truncate all the table and create new ones before and after each test. I thought I could just use <code>sequelize.sync</code>. </p>
  
  <p>Here is my test:</p>
  
  <pre><code>import chai from "chai";
  import assert from "assert";
  import app from "../../src/app";
  import chaiHttp from "chai-http";
  import factories from "../factories";
  import Sequelize from "sequelize";
  
  // import dotenv from "dotenv";
  // dotenv.config({path: ".env.test"});
  chai.use(chaiHttp);
  
  describe("'regions'service", () =&gt; {
    beforeEach(async () =&gt; {
      await Sequelize.sync({ force: true });
    });
  
    it("should POST area", async () =&gt; {
      const region = await factories.create("region");
      const dummy = {
        name: "New area",
        open: true,
        description: "This is a cool area!",
        gps: "122.123, 123.4123",
        regionId: region.dataValues.id
      };
      const res = await chai
        .request(app)
        .post("/api/areas")
        .send(dummy);
      assert.equal(res.body.name, dummy.name);
    });
  });
  </code></pre>
  
  <p>My error message:</p>
  
  <blockquote>
  <pre><code> TypeError: _sequelize2.default.sync is not a function
  </code></pre>
  </blockquote>