mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: lint
This commit is contained in:
parent
f1279666b5
commit
4717e035ee
173 changed files with 1388 additions and 1627 deletions
|
|
@ -1,13 +1,12 @@
|
|||
'use strict';
|
||||
|
||||
const {
|
||||
test,
|
||||
stub,
|
||||
} = require('supertape');
|
||||
const {test, stub} = require('supertape');
|
||||
|
||||
const exit = require('./exit');
|
||||
|
||||
test('cloudcmd: exit: process.exit', (t) => {
|
||||
const {exit: exitOriginal} = process;
|
||||
|
||||
process.exit = stub();
|
||||
|
||||
exit();
|
||||
|
|
@ -48,4 +47,3 @@ test('cloudcmd: exit.error: console.error: error', (t) => {
|
|||
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue