mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -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");
|
|
});
|
|
});
|