Skip to content

Commit

Permalink
✅ hasValidContext has changed it's location
Browse files Browse the repository at this point in the history
  • Loading branch information
astoilkov committed Jan 11, 2024
1 parent bc172a5 commit f86cf59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { isTimeToYield, yieldControl, yieldOrContinue } from './index'
import Deferred from './src/utils/Deferred'

let hasValidContext = true
jest.mock('./src/hasValidContext', () => {
jest.mock('./src/utils/hasValidContext', () => {
return jest.fn(() => hasValidContext)
})

Expand Down

0 comments on commit f86cf59

Please sign in to comment.