Skip to content

Commit 60ae3e1

Browse files
committed
fixup! feat(@schematics/angular): use library builder and add entry-point schematic
1 parent 2e0f931 commit 60ae3e1

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

‎tests/e2e/tests/vitest/library.ts‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,12 @@ export default async function (): Promise<void> {
4040
`,
4141
);
4242

43+
// 4. Generate a secondary entry point
44+
await ng('generate', 'entry-point', 'secondary', '--project=my-lib');
45+
4346
// Run the library tests
4447
const { stdout } = await ng('test', 'my-lib');
4548

46-
// Expect tests to pass
47-
assert.match(stdout, /passed/, 'Expected library tests to pass.');
49+
// Expect tests to pass (my-lib, styled-comp, and secondary)
50+
assert.match(stdout, /3 passed/, 'Expected 3 library tests to pass.');
4851
}

0 commit comments

Comments
 (0)