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
c9b27bb514
commit
170b4da211
7 changed files with 19 additions and 3 deletions
|
|
@ -37,6 +37,7 @@ test('cloudcmd: client: key: enable vim', async (t) => {
|
|||
test('cloudcmd: client: key: disable vim', async (t) => {
|
||||
const _config = stub();
|
||||
const config = stub();
|
||||
|
||||
const event = {
|
||||
keyCode: ESC,
|
||||
key: 'Escape',
|
||||
|
|
|
|||
|
|
@ -447,6 +447,7 @@ test('cloudcmd: client: key: set first file current: ^', async (t) => {
|
|||
test('cloudcmd: client: key: visual', (t) => {
|
||||
const element = {};
|
||||
const toggleSelectedFile = stub();
|
||||
|
||||
const Info = {
|
||||
element,
|
||||
};
|
||||
|
|
@ -463,6 +464,7 @@ test('cloudcmd: client: key: visual', (t) => {
|
|||
test('cloudcmd: client: key: ESC', (t) => {
|
||||
const element = {};
|
||||
const unselectFiles = stub();
|
||||
|
||||
const Info = {
|
||||
element,
|
||||
};
|
||||
|
|
@ -508,6 +510,7 @@ test('cloudcmd: client: key: Enter', async (t) => {
|
|||
test('cloudcmd: client: key: /', (t) => {
|
||||
const preventDefault = stub();
|
||||
const element = {};
|
||||
|
||||
const Info = {
|
||||
element,
|
||||
files: [],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue