Opal-Estate-Pro/node_modules/tiny-lr/test/http.js

15 lines
328 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
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);
});
});
});