(authData)
| 2 | |
| 3 | // Returns a promise that fulfills iff this user id is valid. |
| 4 | function validateAuthData(authData) { |
| 5 | if (authData.id == '12345' && authData.access_token == '12345') { |
| 6 | return Promise.resolve(); |
| 7 | } |
| 8 | return Promise.reject(); |
| 9 | } |
| 10 | function validateAppId() { |
| 11 | return Promise.resolve(); |
| 12 | } |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…