template_param.test.js 341 B

123456789101112131415161718
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Mai
  6. * @date
  7. * @version
  8. */
  9. const { app, assert } = require('egg-mock/bootstrap');
  10. describe('test/app/const/template_param.test.js', () => {
  11. it('defaultGlobalParams', function* () {
  12. const ctx = app.mockContext();
  13. assert(app.paramConst.defaultGlobalParams.length === 39);
  14. });
  15. });