Skip to content

Commit 4254a80

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 c5e4ace commit 4254a80

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
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);

tests/legacy-cli/e2e/tests/basic/test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ export default async function () {
2121
require('karma-coverage'),
2222
require('@angular-devkit/build-angular/plugins/karma')
2323
],
24-
client: {
25-
clearContext: false // leave Jasmine Spec Runner output visible in browser
26-
},
2724
reporters: ['progress', 'kjhtml'],
2825
port: 9876,
2926
colors: true,

0 commit comments

Comments
 (0)