Skip to content

Commit 83c7568

Browse files
committed
test: update tests to match updated library output
This change is needed due to the migration from rollup to esbuild in ng-packagr.
1 parent 8a54875 commit 83c7568

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/legacy-cli/e2e/tests/build/library/lib-consumption-full-jit.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ export default async function () {
2929
await ng('build', '--configuration=development');
3030
await expectFileToMatch(
3131
'dist/test-project/browser/main.js.map',
32-
'projects/my-lib/src/public-api.ts',
32+
'projects/my-lib/src/lib/my-lib.component.ts',
3333
);
3434
}

tests/legacy-cli/e2e/tests/build/library/lib-consumption-sourcemaps.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ export default async function () {
1212
await ng('build', '--configuration=development');
1313
await expectFileToMatch(
1414
'dist/test-project/browser/main.js.map',
15-
'projects/my-lib/src/public-api.ts',
15+
'projects/my-lib/src/lib/my-lib.component.ts',
1616
);
1717
}

tests/legacy-cli/e2e/tests/build/library/lib-unused-decorated-class-treeshake.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default async function () {
1111

1212
// Add an unused class as part of the public api.
1313
await appendToFile(
14-
'projects/my-lib/src/public-api.ts',
14+
'projects/my-lib/src/lib/my-lib.component.ts',
1515
`
1616
function something() {
1717
return function (target: any, propertyKey: string, descriptor: PropertyDescriptor) {

0 commit comments

Comments
 (0)