Skip to content

Commit

Permalink
Should work now
Browse files Browse the repository at this point in the history
Updated sessions-table.component.spec.ts to have 100% coverage
  • Loading branch information
Surge747 committed Oct 23, 2024
1 parent 71bd61c commit e09e600
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,13 @@ import { RouterTestingModule } from '@angular/router/testing';
import { NgbModal } from '@ng-bootstrap/ng-bootstrap';

// Application imports
import { SessionsTableModule } from './sessions-table.module';

Check failure on line 17 in src/web/app/components/sessions-table/sessions-table.component.spec.ts

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

`./sessions-table.module` import should occur after import of `./sessions-table.component`

Check failure on line 17 in src/web/app/components/sessions-table/sessions-table.component.spec.ts

View workflow job for this annotation

GitHub Actions / lint (windows-latest)

`./sessions-table.module` import should occur after import of `./sessions-table.component`
import { SessionsTableColumn, SessionsTableRowModel } from './sessions-table-model';
import { SessionsTableComponent } from './sessions-table.component';
import { SimpleModalService } from '../../../services/simple-modal.service';
import { TeammatesRouterModule } from '../teammates-router/teammates-router.module';

Check failure on line 21 in src/web/app/components/sessions-table/sessions-table.component.spec.ts

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

`../teammates-router/teammates-router.module` import should occur after import of `../copy-session-modal/copy-session-modal.component`

Check failure on line 21 in src/web/app/components/sessions-table/sessions-table.component.spec.ts

View workflow job for this annotation

GitHub Actions / lint (windows-latest)

`../teammates-router/teammates-router.module` import should occur after import of `../copy-session-modal/copy-session-modal.component`

// Types and models
import {
FeedbackSession,
FeedbackSessionPublishStatus,
Expand All @@ -24,11 +30,8 @@ import {
SessionVisibleSetting,
} from '../../../types/api-output';

// Application components
import { CopySessionModalComponent } from '../copy-session-modal/copy-session-modal.component';
import { TeammatesRouterModule } from '../teammates-router/teammates-router.module';
import { SessionsTableColumn, SessionsTableRowModel } from './sessions-table-model';
import { SessionsTableComponent } from './sessions-table.component';
import { SessionsTableModule } from './sessions-table.module';

// Mock Pipes
@Pipe({ name: 'formatDateBrief' })
Expand Down

0 comments on commit e09e600

Please sign in to comment.