MCPcopy Index your code
hub / github.com/strongloop/loopback / givenResetPasswordToken

Function givenResetPasswordToken

test/user-password.test.js:206–212  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

204 }
205
206 function givenResetPasswordToken() {
207 return Promise.all([
208 User.resetPassword({email: credentials.email}),
209 waitForEvent(User, 'resetPasswordRequest'),
210 ])
211 .spread((reset, info) => resetToken = info.accessToken);
212 }
213
214 function changeName(token) {
215 return request(app).patch(`/users/${testUser.id}`)

Callers

nothing calls this directly

Calls 1

waitForEventFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…