mirror of
https://github.com/strapi/strapi.git
synced 2025-09-02 13:23:12 +00:00
16 lines
267 B
JavaScript
Executable File
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'
|
|
});
|
|
});
|
|
});
|