mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-18 00:47:01 +00:00
chore: cloudcmd: actions: lint ☘️
This commit is contained in:
parent
943bdecd3e
commit
7f28803a82
5 changed files with 51 additions and 20 deletions
|
|
@ -33,7 +33,6 @@ test('distribute: log: config', (t) => {
|
|||
checkAssertionsCount: false,
|
||||
});
|
||||
|
||||
|
||||
test('distribute: log: stringToRGB', (t) => {
|
||||
const result = log.stringToRGB('abc');
|
||||
|
||||
|
|
@ -44,11 +43,10 @@ test('distribute: log: stringToRGB', (t) => {
|
|||
test('distribute: log: makeColor', (t) => {
|
||||
const result = log.makeColor('hello');
|
||||
|
||||
t.ok(result.includes('hello'), 'should return colored string containing the input');
|
||||
t.match(result, 'hello', 'should return colored string containing the input');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
||||
test('distribute: log: getDescription', (t) => {
|
||||
const message = 'some error';
|
||||
const result = log.getDescription({
|
||||
|
|
|
|||
|
|
@ -67,4 +67,3 @@ test('cloudcmd: server: env: bool: zero uppercase', (t) => {
|
|||
t.notOk(result);
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -48,4 +48,3 @@ test('themes: production: light', (t) => {
|
|||
t.ok(themes.light, 'should have light theme');
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue