/* global describe it */

"use strict";
var isFileP = require("..");

require("should");

describe("node module", function() {
    it("should catch errors", function(done){
        isFileP("/aadfffdsafda").catch(function(err){
            err.should.be.an.instanceOf(Error);
            done();
        });
    });
});

@@ -120,16 +120,196 @@
 ion() %7B%0A
+    it(%22should send back true for files%22, function(done)%7B%0A        isFileP(__filename).then(function(bool)%7B%0A            bool.should.be.true;%0A            done();%0A        %7D);%0A    %7D);%0A
     it(%22

test true