123456789101112131415
  1. import app from '../examples/express/app';
  2. import request from 'supertest';
  3. describe('mocha spec examples', () => {
  4. describe('tinylr', () => {
  5. it('GET /', done => {
  6. request(app)
  7. .get('/')
  8. .expect('Content-Type', /text\/html/)
  9. .expect(/Testing/)
  10. .expect(200, done);
  11. });
  12. });
  13. });