Unverified Commit b2579923 authored by vercel-fleet-prod[bot]'s avatar vercel-fleet-prod[bot] Committed by GitHub

Update Lockfile.unlock test for the result-based lockfile API

Co-authored-by: 's avatarLuke Sandberg <210140+lukesandberg@users.noreply.github.com>
parent f17da88f
......@@ -14,7 +14,7 @@ describe('Lockfile.unlock', () => {
.mockRejectedValue(new Error('An IO error occurred'))
;(getBindingsSync as jest.Mock).mockReturnValue({
isWasm: false,
lockfileTryAcquireSync: () => ({}),
lockfileTryAcquireSync: () => ({ type: 'acquired', lockfile: {} }),
lockfileUnlock,
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment