We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ef96c2 commit b039f15Copy full SHA for b039f15
src/model/__tests__/UserDataSource.ts
@@ -136,14 +136,14 @@ describe('UserDataSource', () => {
136
let callCount = 0
137
jest.spyOn(UserDataSource, 'calculateLastUpdatedInDays')
138
.mockImplementation(() => {
139
- // For both calls in the third update operation:
+ // For both calls in the third update operation:
140
// First call (account age) - return 15 days (older than 14 days)
141
// Second call (last username update) - return 1 day (very recent)
142
callCount++
143
return callCount % 2 === 1 ? 15 : 1
144
})
145
146
- // Try the 3rd update operation that should fail
+ // Try the update operation that should fail
147
let errorThrown = false
148
try {
149
await users.createOrUpdateUserProfile(updater, {
0 commit comments