Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhwhite committed Feb 10, 2025
1 parent d753125 commit 56c1ee7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Component } from '@angular/core';
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SkyAppTestUtility } from '@skyux-sdk/testing';
import { SkyLogService } from '@skyux/core';
import { SkyModalService } from '@skyux/modals';

import { SkyModalLinkListComponent } from './modal-link-list.component';
import { SkyModalLinkListModule } from './modal-link-list.module';
import { SkyAppTestUtility } from '@skyux-sdk/testing';

@Component({
template: '',
Expand Down Expand Up @@ -51,7 +51,9 @@ describe('SkyModalLinkListComponent', () => {
},
]);
fixture.detectChanges();
const link = Array.from<HTMLButtonElement>(fixture.nativeElement.querySelectorAll('button.sky-link-list-item'));
const link = Array.from<HTMLButtonElement>(
fixture.nativeElement.querySelectorAll('button.sky-link-list-item'),
);
expect(link.length).toBe(1);
SkyAppTestUtility.fireDomEvent(link[0], 'click');
expect(openModalSpy).toHaveBeenCalledWith(MockStandaloneComponent, {});
Expand All @@ -68,7 +70,9 @@ describe('SkyModalLinkListComponent', () => {
},
]);
fixture.detectChanges();
const link = Array.from<HTMLButtonElement>(fixture.nativeElement.querySelectorAll('button.sky-link-list-item'));
const link = Array.from<HTMLButtonElement>(
fixture.nativeElement.querySelectorAll('button.sky-link-list-item'),
);
expect(link.length).toBe(1);
SkyAppTestUtility.fireDomEvent(link[0], 'click');
expect(logger.deprecated).toHaveBeenCalled();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
import { Component, inject, isStandalone, input, computed } from '@angular/core';
import {
Component,
computed,
inject,
input,
isStandalone,
} from '@angular/core';
import { SkyLogService } from '@skyux/core';
import { SkyModalLegacyService, SkyModalService } from '@skyux/modals';

Expand Down
4 changes: 2 additions & 2 deletions libs/components/pages/src/lib/modules/page/page.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { NgModule } from '@angular/core';
import { SkyLinkListRecentlyAccessedComponent } from '../link-list-recently-accessed/link-list-recently-accessed.component';
import { SkyLinkListItemComponent } from '../link-list/link-list-item.component';
import { SkyLinkListComponent } from '../link-list/link-list.component';
import { SkyLinkListModule } from '../link-list/link-list.module';
import { SkyModalLinkListModule } from '../modal-link-list/modal-link-list.module';
import { SkyPageHeaderModule } from '../page-header/page-header.module';

import { SkyPageContentComponent } from './page-content.component';
import { SkyPageLinksComponent } from './page-links.component';
import { SkyPageComponent } from './page.component';
import { SkyLinkListModule } from '../link-list/link-list.module';
import { SkyModalLinkListModule } from '../modal-link-list/modal-link-list.module';

@NgModule({
declarations: [SkyPageComponent, SkyPageContentComponent],
Expand Down

0 comments on commit 56c1ee7

Please sign in to comment.