mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Update tests to verify term and Query changes
This commit is contained in:
@@ -25,6 +25,16 @@ function basic_test() {
|
||||
});
|
||||
|
||||
index.search("foo");
|
||||
|
||||
index.query(q => {
|
||||
q.term(
|
||||
lunr.tokenizer('search terms'),
|
||||
{
|
||||
wildcard: lunr.Query.wildcard.TRAILING,
|
||||
presence: lunr.Query.presence.REQUIRED
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
function pipeline_test() {
|
||||
|
||||
Reference in New Issue
Block a user