Skip to content

Commit a80b963

Browse files
committed
test(date-editor): remove fdescribe #6271
1 parent 03d0516 commit a80b963

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

projects/igniteui-angular/src/lib/directives/date-time-editor/date-time-editor.directive.spec.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { IgxInputGroupModule, IgxInputGroupComponent, IgxInputDirective } from '
1010
import { configureTestSuite } from '../../test-utils/configure-suite';
1111
import { UIInteractions } from '../../test-utils/ui-interactions.spec';
1212

13-
fdescribe('IgxDateTimeEditor', () => {
13+
describe('IgxDateTimeEditor', () => {
1414
let dateTimeEditor: IgxDateTimeEditorDirective;
1515
describe('Unit tests', () => {
1616
const maskParsingService = jasmine.createSpyObj('MaskParsingService',
@@ -545,7 +545,7 @@ fdescribe('IgxDateTimeEditor', () => {
545545
const date = new Date(0, 0, 0, 2, 0, 0);
546546
const result = date.toLocaleString('en-US', { hour: 'numeric', minute: 'numeric', second: 'numeric', hour12: true });
547547
const offset = date.getTimezoneOffset();
548-
const tz = (offset < 0 ? '+' : '-') + (Math.abs(offset) / 60);
548+
const tz = (offset <= 0 ? '+' : '-') + (Math.abs(offset) / 60);
549549
expect(inputElement.nativeElement.value).toEqual(`${result} GMT${tz}`);
550550
});
551551
it('should be able to apply custom display format.', fakeAsync(() => {

0 commit comments

Comments
 (0)