strapi/test/application/toJSON.js
2015-10-16 15:47:17 +02:00

16 lines
267 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,
env: 'test'
});
});
});