mirror of
https://github.com/strapi/strapi.git
synced 2025-09-01 04:42:58 +00:00
17 lines
287 B
JavaScript
Executable File
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'
|
|
});
|
|
});
|
|
});
|