chore(cloudcmd) lint

This commit is contained in:
coderaiser 2021-08-15 14:57:22 +03:00
parent 699deb86c6
commit 883b4487e0
2 changed files with 2 additions and 2 deletions

View file

@ -71,7 +71,7 @@ test('cloudcmd: markdown: put: error', async (t) => {
const [e] = await tryToCatch(_markdown, name, '/', mdStream);
t.match(e.message, /ENOENT: no such file or directory/, 'should emit error');
t.match(e.message, 'ENOENT: no such file or directory', 'should emit error');
t.end();
});

View file

@ -220,7 +220,7 @@ test('cloudcmd: route: not found', async (t) => {
options,
});
t.match(body, /ENOENT: no such file or directory/, 'should return error');
t.match(body, 'ENOENT: no such file or directory', 'should return error');
t.end();
});