Skip to content
This repository has been archived by the owner on Nov 2, 2021. It is now read-only.

Fix tests in the viewer module #385

Merged
merged 19 commits into from
Dec 10, 2019
Merged

Conversation

flavens
Copy link
Collaborator

@flavens flavens commented Dec 6, 2019

Get imports from knora/api lib
Fix broken tests when it is possible
Some tests are commented out because it requires a MockFactory and exports from knora/api lib.
See knora-api-js-lib/issues/121

…alue, decimal-value, integer-value, interval-value + exclude temporarily tests of search-results
@flavens flavens added the testing label Dec 6, 2019
@flavens flavens added this to the 2019-12 milestone Dec 6, 2019
@flavens flavens self-assigned this Dec 6, 2019
@flavens flavens changed the base branch from master to api-js-lib/develop December 6, 2019 16:23
flavens and others added 17 commits December 9, 2019 10:49
…-value, external-res-value, geoname-value, uri-value
# Conflicts:
#	projects/knora/viewer/src/lib/property/external-res-value/external-res-value.component.spec.ts
@flavens flavens requested a review from kilchenmann December 10, 2019 10:44
@@ -1,10 +1,33 @@
import { Component, DebugElement, OnInit, ViewChild } from '@angular/core';
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { By } from '@angular/platform-browser';
import { ReadGeomValue } from '@knora/core';
import { ReadGeomValue } from '@knora/api';
import { ParseReadGeomValue } from '@knora/api/src/models/v2/resources/values/read/read-geom-value';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ParseReadGeomValue has no exported member in knora-api-js-lib. @flavens can you write an issue about that in knora-api-js-lib. Probably there are more like this...

@flavens flavens merged commit cc6770f into api-js-lib/develop Dec 10, 2019
@flavens flavens deleted the fix/fix-viewer-tests branch December 10, 2019 12:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants