fixed lint error

This commit is contained in:
horike37 2016-11-01 05:29:17 +09:00
parent 27e4c20ede
commit 7ea0133bf4

View File

@ -91,7 +91,8 @@ describe('SlStats', () => {
slStats.options = { enable: true };
expect(() => slStats.toggleStats()).to.throw(Error, /slstats failed. The following message: ENOENT: no such file or directory, lstat/);
expect(() => slStats.toggleStats()).to.throw(Error,
/slstats failed. The following message: ENOENT: no such file or directory, lstat/);
expect(
serverless.utils.fileExistsSync(path.join(serverlessDirPath, 'stats-enabled'))
).to.equal(false);