(list, name)
| 9 | } |
| 10 | // Returns an array of the clientIds for the locks with matching name. |
| 11 | function clients(list, name) { |
| 12 | return list.filter(item => item.name === name).map(item => item.clientId); |
| 13 | } |
| 14 | |
| 15 | promise_test(async t => { |
| 16 | const res = uniqueName(t); |
no test coverage detected