Commit f6378465 authored by Robert Knight's avatar Robert Knight

Use "equals" rather than "exactly" operator

This test case reproduces usage of `streamFilter` in
annotation-viewer-content, where the operator is "equals" not "exactly".
parent e9291678
......@@ -10,7 +10,7 @@ describe('sidebar/services/stream-filter', () => {
value: ['https://example.com', 'doi:1234'],
},{
field: '/id',
operator: 'exactly',
operator: 'equals',
value: '1234',
},{
field: '/references',
......@@ -42,7 +42,7 @@ describe('sidebar/services/stream-filter', () => {
it('is chainable', () => {
const filter = new StreamFilter();
assert.equal(filter.addClause('/id', 'exactly', '123'), filter);
assert.equal(filter.addClause('/id', 'equals', '123'), filter);
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment