`expect(stats.isFile()).to.be.true;` is how you do this.