Opal-Estate-Pro/node_modules/tiny-lr/test/http.js
2019-09-13 11:27:52 +07:00

15 lines
328 B
JavaScript

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);
});
});
});