Skip to content

Commit bfbef6e

Browse files
committed
test: remove contents of main.ts from polyfill tests
These test do not need the contents of the `main.ts`
1 parent 50c79cf commit bfbef6e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/angular/build/src/builders/application/tests/options/polyfills_spec.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,7 @@ describeBuilder(buildApplication, APPLICATION_BUILDER_INFO, (harness) => {
2020
for (const [suitName, baseUrl] of testsVariants) {
2121
describe(suitName, () => {
2222
beforeEach(async () => {
23-
beforeEach(async () => {
24-
await harness.writeFile('src/main.ts', 'console.log("TEST");');
25-
});
23+
await harness.writeFile('src/main.ts', 'console.log("TEST");');
2624

2725
await harness.modifyFile('tsconfig.json', (content) => {
2826
const tsconfig = JSON.parse(content);

0 commit comments

Comments
 (0)