mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
fixed lint error
This commit is contained in:
parent
27e4c20ede
commit
7ea0133bf4
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user