text: const request = require('supertest');
  const server = require('./server.js');
  
  describe('server', () => {
      it('should run tests without errors', () => {
          expect(true).toBeTruthy();
      });
  
      describe('test environment', () => {
          it('should use test environment', () => {
              expect(process.env.DB_ENV).toBe('testing')
          });
      });
  
      describe('GET /', () => {
          it('should return a 200 OK ', () => {
              return request(server)
                  .get('/')
                  .then(res => {
                      expect(res.status).toBe(200);
              });
          });
  
          it('should return message: Expat Journal - Backend', () => {
              return request(server)
                  .get('/')
                  .then(res => {
                      expect(res.body.message).toBe('Expat Journal - Backend');
              });
          });
      });
  
  });