Skip to content

Commit

Permalink
Fix read mocks in read user info
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 1, 2024
1 parent 74ce1a4 commit bbcb227
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/lib/utils/read-user-info.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ const tmock = require('../../fixtures/tmock')

let readOpts = null
let readResult = null
const read = async (opts) => {
const read = { read: async (opts) => {
readOpts = opts
return readResult
}
} }

const npmUserValidate = {
username: (username) => {
Expand Down

0 comments on commit bbcb227

Please sign in to comment.