From 912911220a1af78567aa06c5cb9eaefd6bb0a0bd Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Sat, 22 Dec 2018 22:45:49 +0200 Subject: [PATCH] test(bazel): fix `bazel-workspace` schematics test The test was cherry-picked from #27719 into 7.1.x, where entry module path ended in `/main`, not `/main.dev`. It was changed to `/main.dev` in #27277, which was not backported to 7.1.x. --- packages/bazel/src/schematics/bazel-workspace/index_spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bazel/src/schematics/bazel-workspace/index_spec.ts b/packages/bazel/src/schematics/bazel-workspace/index_spec.ts index bf0efa4771..e24fc5c452 100644 --- a/packages/bazel/src/schematics/bazel-workspace/index_spec.ts +++ b/packages/bazel/src/schematics/bazel-workspace/index_spec.ts @@ -48,7 +48,7 @@ describe('Bazel-workspace Schematic', () => { const {files} = host; expect(files).toContain('/demo-app/src/BUILD.bazel'); const content = host.readContent('/demo-app/src/BUILD.bazel'); - expect(content).toContain('entry_module = "demo_app/src/main.dev"'); + expect(content).toContain('entry_module = "demo_app/src/main"'); }); describe('WORKSPACE', () => {