mirror of
https://github.com/eggjs/egg.git
synced 2024-12-04 07:14:30 +00:00
20 lines
396 B
JavaScript
20 lines
396 B
JavaScript
'use strict';
|
|
|
|
const assert = require('assert');
|
|
const egg = require('..');
|
|
|
|
describe('test/index.test.js', () => {
|
|
it('should expose properties', () => {
|
|
assert.deepEqual(Object.keys(egg).sort(), [
|
|
'Agent',
|
|
'AgentWorkerLoader',
|
|
'AppWorkerLoader',
|
|
'Application',
|
|
'BaseContextClass',
|
|
'Controller',
|
|
'Service',
|
|
'startCluster',
|
|
]);
|
|
});
|
|
});
|