mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
chore(cloudcmd) lint
This commit is contained in:
parent
699deb86c6
commit
883b4487e0
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue