Skip to content

Commit

Permalink
test/test-dataaggregator.ts - fix this test
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Stokoe committed Mar 29, 2024
1 parent 1defa43 commit 2be5fbd
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/test-dataaggregator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2be5fbd

Please sign in to comment.