Skip to content

Commit 2a37c0c

Browse files
committed
test: add workaround while waiting for angular/angular
1 parent 680946d commit 2a37c0c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/legacy-cli/e2e/tests/build/lazy-load-syntax.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,11 @@ export default async function () {
122122
buildTarget['options']['experimentalImportFactories'] = true;
123123
});
124124
// Both Ivy and View Engine should support it.
125-
await replaceLoadChildren(`() => import('./lazy/lazy.module').then(m => m.LazyModule)`);
125+
// DO_NOT_SUBMIT
126+
// `as any` is a workaround while waiting for https://github.com/angular/angular/pull/29392
127+
// when that's merged remove the next line, and uncomment the one after it
128+
await replaceLoadChildren(`() => import('./lazy/lazy.module').then(m => m.LazyModule) as any`);
129+
// await replaceLoadChildren(`() => import('./lazy/lazy.module').then(m => m.LazyModule)`);
126130
await ng('e2e');
127131
await ng('e2e', '--prod');
128132
}

0 commit comments

Comments
 (0)