aa1fbbff4a
fix trailing comma
17 lines
277 B
JavaScript
17 lines
277 B
JavaScript
|
|
'use strict';
|
|
|
|
const Koa = require('../..');
|
|
|
|
describe('app.toJSON()', function(){
|
|
it('should work', function(){
|
|
const app = new Koa();
|
|
const obj = app.toJSON();
|
|
|
|
obj.should.eql({
|
|
subdomainOffset: 2,
|
|
proxy: false,
|
|
env: 'test'
|
|
});
|
|
});
|
|
});
|