Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit 8f7233c

Browse files
authored
Merge pull request #327 from ghiscoding/feat/tests-angular-slickgrid-component
feat(tests): add Angular-Slickgrid component tests
2 parents cf7c334 + 42194be commit 8f7233c

11 files changed

+713
-474
lines changed

src/app/modules/angular-slickgrid/components/__tests__/angular-slickgrid.component.spec.ts

Lines changed: 492 additions & 0 deletions
Large diffs are not rendered by default.

src/app/modules/angular-slickgrid/components/slick-pagination-without-translate.component.spec.ts renamed to src/app/modules/angular-slickgrid/components/__tests__/slick-pagination-without-translate.component.spec.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
import { async, ComponentFixture, fakeAsync, flush, TestBed, tick } from '@angular/core/testing';
1+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
22
import { By } from '@angular/platform-browser';
33
import { Subject } from 'rxjs';
44

5-
import { SlickPaginationComponent } from './slick-pagination.component';
6-
import { Column, GridOption, Locale, Pager } from '../models';
7-
import { PaginationService } from '../services';
5+
import { SlickPaginationComponent } from '../slick-pagination.component';
6+
import { Column, GridOption, Locale, Pager } from '../../models';
7+
import { PaginationService } from '../../services';
88

99
const dataviewStub = {
1010
onRowCountChanged: jest.fn(),

src/app/modules/angular-slickgrid/components/slick-pagination.component.spec.ts renamed to src/app/modules/angular-slickgrid/components/__tests__/slick-pagination.component.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ import { By } from '@angular/platform-browser';
33
import { TranslateModule, TranslateService } from '@ngx-translate/core';
44
import { Subject } from 'rxjs';
55

6-
import { SlickPaginationComponent } from './slick-pagination.component';
7-
import { Column, GridOption, Locale, Pager } from './../models';
8-
import { PaginationService } from '../services';
6+
import { SlickPaginationComponent } from '../slick-pagination.component';
7+
import { Column, GridOption, Pager } from '../../models';
8+
import { PaginationService } from '../../services';
99

1010
const dataviewStub = {
1111
onRowCountChanged: jest.fn(),

src/app/modules/angular-slickgrid/components/angular-slickgrid.component.spec.ts

Lines changed: 0 additions & 194 deletions
This file was deleted.

0 commit comments

Comments
 (0)