Skip to content

Commit 35d1381

Browse files
authored
tests(generator): enable init generator test (#1233)
enable init generator test
1 parent 66cdcb6 commit 35d1381

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/generators/__tests__/init-generator.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { join } from 'path';
22
import { run } from 'yeoman-test';
33

44
// fixme: unstable
5-
describe.skip('init generator', () => {
5+
describe('init generator', () => {
66
it('generates a webpack project config', async () => {
77
const outputDir = await run(join(__dirname, '../init-generator')).withPrompts({
88
multiEntries: false,
@@ -17,5 +17,5 @@ describe.skip('init generator', () => {
1717
const config = (Object.entries(output)[0][1] as any).configuration.config.webpackOptions;
1818
expect(config.entry).toEqual("'./src/index2.js'");
1919
expect(config.output.path).toEqual("path.resolve(__dirname, 'dist2')");
20-
});
20+
}, 10000);
2121
});

0 commit comments

Comments
 (0)