Skip to content

Commit

Permalink
tests(generator): enable init generator test (#1233)
Browse files Browse the repository at this point in the history
enable init generator test
  • Loading branch information
anshumanv committed Feb 17, 2020
1 parent 66cdcb6 commit 35d1381
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/generators/__tests__/init-generator.test.ts
Expand Up @@ -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,
Expand All @@ -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);
});

0 comments on commit 35d1381

Please sign in to comment.