Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit e64a9bc

Browse files
committed
test: fix test assertions breaking due to license change
Fixes that the stackblitz writer tests fail due to the license bump from 2021 to 2022, but the tests not reflecting that.
1 parent b0902db commit e64a9bc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app/shared/stack-blitz/stack-blitz-writer.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ describe('StackBlitzWriter', () => {
115115
'src/app/app.module.ts': `import {ExampleComponent, AdditionalComp} from './test';`,
116116
'src/app/test.ts': `ExampleComponent
117117
118-
/** Copyright 2021 Google LLC. All Rights Reserved.
118+
/** Copyright ${new Date().getFullYear()} Google LLC. All Rights Reserved.
119119
Use of this source code is governed by an MIT-style license that
120120
can be found in the LICENSE file at https://angular.io/license */`,
121121
});

src/app/shared/stack-blitz/stack-blitz-writer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const TEMPLATE_PATH = '/assets/stack-blitz/';
2424
/**
2525
* List of boilerplate files for an example StackBlitz.
2626
* This currently matches files needed for a basic Angular CLI project.
27-
*
27+
*
2828
* Note: The template files match up with a basic app generated through `ng new`.
2929
* StackBlitz does not support binary files like `favicon.ico`, so we removed that
3030
* file from the boilerplate.

0 commit comments

Comments
 (0)