mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore(cloudcmd) lint
This commit is contained in:
parent
8f466b4c9a
commit
111eba8c31
33 changed files with 139 additions and 155 deletions
|
|
@ -12,7 +12,7 @@ test('columns', (t) => {
|
|||
|
||||
process.env.NODE_ENV = NODE_ENV;
|
||||
|
||||
t.equal(columns[''], '', 'should equal');
|
||||
t.equal(columns[''], '');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -25,7 +25,7 @@ test('columns: dev', (t) => {
|
|||
|
||||
process.env.NODE_ENV = NODE_ENV;
|
||||
|
||||
t.equal(columns['name-size-date'], css, 'should equal');
|
||||
t.equal(columns['name-size-date'], css);
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ test('env: bool: undefined', (t) => {
|
|||
const {cloudcmd_terminal} = process.env;
|
||||
process.env.cloudcmd_terminal = undefined;
|
||||
|
||||
t.equal(env.bool('terminal'), undefined, 'should be undefined');
|
||||
t.notOk(env.bool('terminal'), 'should be undefined');
|
||||
|
||||
process.env.cloudcmd_terminal = cloudcmd_terminal;
|
||||
t.end();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue