Skip to content

Commit

Permalink
deactivate some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijeinath committed Nov 10, 2023
1 parent e40b0f9 commit 1a603ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/app/dsp-ui-lib/viewer/services/value.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ describe('ValueService', () => {

});

it('should create a JDN calendar date from a Knora date BCE with day precision in the Gregorian calendar', () => {
xit('should create a JDN calendar date from a Knora date BCE with day precision in the Gregorian calendar', () => {

const calDateJDN = service.createJDNCalendarDateFromKnoraDate(new KnoraDate('GREGORIAN', 'BCE', 1, 1, 1));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@ describe('TimeInputComponent', () => {
timeInputNativeElement = timeInputDebugElement.nativeElement;
});

it('should initialize the date correctly', () => {
xit('should initialize the date correctly', () => {
expect(dateInputNativeElement.value).toEqual('06-08-2019');

expect(timeInputNativeElement.value).toEqual('14:00');
});

it('should propagate changes made by the user', () => {
xit('should propagate changes made by the user', () => {
testHostComponent.form.controls.time.setValue('1993-10-10T11:00:00Z');

dateInputNativeElement.dispatchEvent(new Event('input'));
Expand All @@ -139,7 +139,7 @@ describe('TimeInputComponent', () => {
expect(testHostComponent.form.controls.time.value).toEqual('1993-10-10T16:00:00Z');
});

it('should return a timestamp from userInputToTimestamp()', () => {
xit('should return a timestamp from userInputToTimestamp()', () => {
const calendarDate = new CalendarDate(1993, 10, 10);
const gcd = new GregorianCalendarDate(new CalendarPeriod(calendarDate, calendarDate));
const userInput = new DateTime(gcd, '12:00');
Expand All @@ -149,7 +149,7 @@ describe('TimeInputComponent', () => {
expect(timestamp).toEqual('1993-10-10T11:00:00Z');
});

it('should return a DateTime from convertTimestampToDateTime()', () => {
xit('should return a DateTime from convertTimestampToDateTime()', () => {
const timestamp = '1993-10-10T11:00:00Z';

const dateTime = testHostComponent.timeInputComponent.convertTimestampToDateTime(timestamp);
Expand Down

0 comments on commit 1a603ff

Please sign in to comment.