message: test: improve test case
diff: @@ -10,11 +10,13 @@ test('build', async () => {
  const service = new Service({
  cwd,
  presets: [require.resolve('../../../index.ts')],
  + env: 'production',
  });
  await service.run({
  name: 'build',
  });
  expect(existsSync(join(cwd, 'dist', 'umi.js'))).toEqual(true);
  + expect(existsSync(join(cwd, 'dist', 'index.html'))).toEqual(true);
  rimraf.sync(join(cwd, 'dist'));
  });
  