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.
This commit is contained in:
George Kalpakas 2018-12-22 22:45:49 +02:00 committed by Matias Niemelä
parent 395f9cd8d2
commit 912911220a

View File

@ -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', () => {