Skip to content

Conversation

@sean-perkins
Copy link
Contributor

Resolves #1767

  • Removes unused imports
  • Removes unnecessary async modifiers
  • Standardizes the spec test template for standalone examples

@sean-perkins sean-perkins marked this pull request as ready for review May 30, 2023 19:44
@sean-perkins sean-perkins requested review from a team, kensodemann and mapsandapps and removed request for a team May 30, 2023 19:44
@sean-perkins
Copy link
Contributor Author

Adding Ken for an optional review.

Comment on lines 7 to 14
let fixture: ComponentFixture<HomePage>;

beforeEach(async () => {
await TestBed
.configureTestingModule()
.compileComponents();

fixture = TestBed.createComponent(HomePage);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI, this code is duplicated in the docs and will need to be updated there.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opened a PR to address this: ionic-team/ionic-docs#2985

@sean-perkins sean-perkins merged commit 796019e into main Jun 5, 2023
@sean-perkins sean-perkins deleted the sp/angular-starters-test-structure branch June 5, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Angular starters are inconsistent with tests and beforeEach() strategy

3 participants