From 35d1381ecf5165e32f1638d4872f38357d649008 Mon Sep 17 00:00:00 2001 From: Anshuman Verma Date: Mon, 17 Feb 2020 07:28:52 +0530 Subject: [PATCH] tests(generator): enable init generator test (#1233) enable init generator test --- packages/generators/__tests__/init-generator.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/generators/__tests__/init-generator.test.ts b/packages/generators/__tests__/init-generator.test.ts index 398d6f584fd..9bd9ad38ab8 100644 --- a/packages/generators/__tests__/init-generator.test.ts +++ b/packages/generators/__tests__/init-generator.test.ts @@ -2,7 +2,7 @@ import { join } from 'path'; import { run } from 'yeoman-test'; // fixme: unstable -describe.skip('init generator', () => { +describe('init generator', () => { it('generates a webpack project config', async () => { const outputDir = await run(join(__dirname, '../init-generator')).withPrompts({ multiEntries: false, @@ -17,5 +17,5 @@ describe.skip('init generator', () => { const config = (Object.entries(output)[0][1] as any).configuration.config.webpackOptions; expect(config.entry).toEqual("'./src/index2.js'"); expect(config.output.path).toEqual("path.resolve(__dirname, 'dist2')"); - }); + }, 10000); });