quasqui
Version:
The meta-framework suite designed from scratch for frontend-focused modern web development.
14 lines (12 loc) • 451 B
text/typescript
import { ActionFunctionText, ActionFunction } from '../src/newAction/common';
import { MWAActionFunctions } from '../src/newAction/mwa';
import { i18n } from '../src/locale';
describe('new action test', () => {
it('common', () => {
i18n.changeLanguage({ locale: 'zh' });
expect(ActionFunctionText[ActionFunction.Proxy]()).toBe('启用「全局代理」');
});
it('mwa', () => {
expect(MWAActionFunctions.length).toBe(13);
});
});