UI for Zipcoin Blue

http.js 559B

12345678910111213141516171819
  1. 'use strict';
  2. var _app = require('../examples/express/app');
  3. var _app2 = _interopRequireDefault(_app);
  4. var _supertest = require('supertest');
  5. var _supertest2 = _interopRequireDefault(_supertest);
  6. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  7. describe('mocha spec examples', function () {
  8. describe('tinylr', function () {
  9. it('GET /', function (done) {
  10. (0, _supertest2.default)(_app2.default).get('/').expect('Content-Type', /text\/html/).expect(/Testing/).expect(200, done);
  11. });
  12. });
  13. });