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