You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
400 B
16 lines
400 B
/**
|
|
* Created by rain on 2015/11/12.
|
|
*/
|
|
'use strict';
|
|
const client = require('supertest');
|
|
|
|
describe('basic test', function () {
|
|
it('basic not found', function (done) {
|
|
const scaffold = require('../');
|
|
const config = require('./config');
|
|
const app = scaffold(config);
|
|
client(app.listen())
|
|
.get('/notfound')
|
|
.expect(404, done);
|
|
});
|
|
});
|