11 lines
232 B
JavaScript
11 lines
232 B
JavaScript
|
const request = require('supertest');
|
||
|
const app = require('../app');
|
||
|
|
||
|
describe('App', function() {
|
||
|
it('has the default page', function(done) {
|
||
|
request(app)
|
||
|
.get('/')
|
||
|
.expect(/Welcome to Express/, done);
|
||
|
});
|
||
|
});
|