import { createKey, matchKey } from '../../service/keytool'; describe('KeyTool test', () => { describe('createKey', () => { it('无参数', async () => { const result = await createKey(); const isMatch = matchKey(result); expect(isMatch).toBe(true); }); }); });