From 49931722cc1580efbc6f477c14be477ae0c2f38e Mon Sep 17 00:00:00 2001 From: David Humphrey Date: Thu, 26 Jul 2018 17:53:02 -0400 Subject: [PATCH] Fix lint issues in path-resolution.spec.js --- tests/spec/path-resolution.spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/spec/path-resolution.spec.js b/tests/spec/path-resolution.spec.js index b53f932..f44f040 100644 --- a/tests/spec/path-resolution.spec.js +++ b/tests/spec/path-resolution.spec.js @@ -32,6 +32,8 @@ describe('path resolution', function() { var fs = util.fs(); fs.mkdir('/mydir', function(error) { + if(error) throw error; + fs.symlink('/mydir', '/mydirectorylink', function(error) { if(error) throw error; @@ -148,6 +150,7 @@ describe('path resolution', function() { if(error) throw error; fs.stat('/myfile0', function(error, result) { if(error) throw error; + expect(result).to.exist; createSymlinkChain(1, function() { fs.stat('/myfile11', function(error, result) { @@ -201,6 +204,7 @@ describe('path resolution', function() { if(error) throw error; fs.stat('/myfile', function(error, result) { if(error) throw error; + expect(result).to.exist; fs.open('/myfile2', 'w', function(error, result) { if(error) throw error;