text: /* eslint-disable */
  
  import mocha from 'mocha';
  import app from '../server';
  import chai from 'chai';
  import request from 'supertest';
  import mongoose from 'mongoose';
  import Post from '../models/post';
  
  const expect = chai.expect;
  
  function connectDB(done) {
    if (mongoose.connection.name !== 'mern-test') {
      return done();
    }
  
    mongoose.connect((process.env.MONGO_URL || 'mongodb://localhost:27017/mern-test'), function (err) {
      if (err) return done(err);
      done();
    });
  }
  
  function dropDB(done) {
    if (mongoose.connection.name !== 'mern-test') {
      return done();
    }
  
    mongoose.connection.db.dropDatabase(function (err) {
      mongoose.connection.close(done);
    });
  }
  
  describe('GET /api/getPosts', function () {
  
  });
  