Skip to content

Commit

Permalink
nxext#1159 e2e stencil e2e library.test.ts - include test 'should gen…
Browse files Browse the repository at this point in the history
…erate vue lib'
  • Loading branch information
Nick W committed Dec 10, 2024
1 parent b286f77 commit 4d2a0c3
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions e2e/stencil-e2e/tests/library.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,21 @@ describe('library e2e', () => {
).not.toThrow();
});

it(`should generate vue lib`, async () => {
const plugin = uniq('lib');
await runNxCommandAsync(
`generate @nxext/stencil:lib ${plugin} --style='css' --buildable --e2eTestRunner='none' --junitTestRunner='none'`
);
await runNxCommandAsync(
`generate @nxext/stencil:add-outputtarget ${plugin} --outputType=vue`
);
await runNxCommandAsync(`build ${plugin}`);

expect(() =>
checkFilesExist(`libs/${plugin}-vue/src/index.ts`)
).not.toThrow();
});

it(`should generate angular lib`, async () => {
const plugin = uniq('lib');
await runNxCommandAsync(
Expand Down

0 comments on commit 4d2a0c3

Please sign in to comment.