strapi/test/application/toJSON.js
loicsaintroch 09785da3a7 Fix tests
2015-11-09 15:27:39 +01:00

17 lines
287 B
JavaScript
Executable File

'use strict';
const Koa = require('../..').server;
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'
});
});
});