Update asar specs
This commit is contained in:
parent
3d858bee95
commit
96f24b88ea
1 changed files with 0 additions and 6 deletions
|
@ -395,12 +395,6 @@ describe 'asar package', ->
|
|||
describe 'original-fs module', ->
|
||||
originalFs = require 'original-fs'
|
||||
|
||||
it 'uses the original fs api', ->
|
||||
changedApis = ['readFile', 'stat', 'lstat', 'realpath', 'exists']
|
||||
unchangedApis = ['read', 'write', 'writeFile', 'close']
|
||||
assert.notStrictEqual fs[api], originalFs[api] for api in changedApis
|
||||
assert.strictEqual fs[api], originalFs[api] for api in unchangedApis
|
||||
|
||||
it 'treats .asar as file', ->
|
||||
file = path.join fixtures, 'asar', 'a.asar'
|
||||
stats = originalFs.statSync file
|
||||
|
|
Loading…
Reference in a new issue