mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
9 lines
270 B
JavaScript
9 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");
|
|
});
|
|
});
|