From 0352dad66cb95800f36dd8e20698c4fb5fed79a8 Mon Sep 17 00:00:00 2001 From: Mera-Gangapersaud Date: Mon, 24 Sep 2018 18:18:31 -0400 Subject: [PATCH] Corrected Travis CI error for issue 500 --- tests/spec/fs.open.spec.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/tests/spec/fs.open.spec.js b/tests/spec/fs.open.spec.js index 26d533b..22698db 100644 --- a/tests/spec/fs.open.spec.js +++ b/tests/spec/fs.open.spec.js @@ -169,6 +169,15 @@ describe('fs.open', function() { }); }); }); + + it('should return an error when flag in invalid', function(done) { + var fs = util.fs(); + + expect(fs.open('/myfile', 'abcd', function(){ + done(); + })).to.throw('flags is not valid'); + + }); }); /**