Skip to content

Commit 77edf2b

Browse files
committed
Include property in mock ontology (#455)
1 parent aff90e0 commit 77edf2b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

frontend/src/category-colors/category-toggle-mixin-test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function selector(classNames: string[]): string {
4646

4747
describe('CategoryToggleMixin', function() {
4848
beforeAll(function() {
49-
this.ontology = new Graph(mockOntology);
49+
this.ontology = new Graph(mockOntology.slice(0, 4));
5050
this.classes = compact(this.ontology.map(getCssClassName));
5151
expect(this.classes.length).toBeGreaterThan(1);
5252
this.styling = new CategoryStyling({ collection: this.ontology });

frontend/src/mock-data/mock-ontology.ts

+1
Original file line numberDiff line numberDiff line change
@@ -152,4 +152,5 @@ export default [
152152
mediumClass,
153153
readerClass,
154154
personClass,
155+
descriptionOfProperty,
155156
]

0 commit comments

Comments
 (0)