mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 21:19:41 -06:00
10 lines
270 B
JavaScript
10 lines
270 B
JavaScript
import userSearch from 'discourse/lib/user-search';
|
|
|
|
module("lib:user-search");
|
|
|
|
test("it places groups unconditionally for exact match", function() {
|
|
return userSearch({term: 'team'}).then((results)=>{
|
|
equal(results[results.length-1]["name"], "team");
|
|
});
|
|
});
|