Submit
Path:
~
/
/
usr
/
local
/
lib
/
node_modules
/
npm
/
node_modules
/
lockfile
/
test
/
File Content:
unlock-no-cb.js
var t = require('tap') if (/0\.(10|8)/.test(process.version)) { t.pass('just a dummy test, no beforeExit in this node version') } else { process.on('beforeExit', function (code) { t.equal(code, 0, 'did not throw') }) } var lf = require('lockfile') lf.unlock('no-file-no-cb')
Submit
FILE
FOLDER
Name
Size
Permission
Action
fixtures
---
0755
basic.js
8602 bytes
0644
retry-time.js
1577 bytes
0644
stale-contention.js
2104 bytes
0644
unlock-no-cb.js
285 bytes
0644
N4ST4R_ID | Naxtarrr