test for snyk

This commit is contained in:
Josh Burman
2019-03-14 18:54:19 -04:00
parent 2133371677
commit 8bc111d9fa
3 changed files with 45 additions and 29 deletions

View File

@ -0,0 +1,11 @@
module.exports = {
clientExists: function (id: number) {
for (let client of this.clients) {
if (client.id == id) {
return client;
}
}
return null;
}
}