From 2be5fbd55b49fb1dd39231d88ce4ef739205eff9 Mon Sep 17 00:00:00 2001 From: Nick Stokoe Date: Fri, 29 Mar 2024 20:50:48 +0000 Subject: [PATCH] test/test-dataaggregator.ts - fix this test --- test/test-dataaggregator.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/test-dataaggregator.ts b/test/test-dataaggregator.ts index 9f17a147..108b3d95 100644 --- a/test/test-dataaggregator.ts +++ b/test/test-dataaggregator.ts @@ -39,6 +39,16 @@ function mkInitiativeObj(name: string, regorg?: string, ea?: string, sa?: string // The minimal config (just sets what to aggregate) const config = new Config({ filterableFields: ['orgStructure', 'primaryActivity'], + propDefs: { + orgStructure: { + type: 'vocab', + uri: 'os:', + }, + primaryActivity: { + type: 'vocab', + uri: 'pa:', + }, + } }); // A vocab service