mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-17 16:38:18 +00:00
chore: lint
This commit is contained in:
parent
78b206e06b
commit
c36c32cb08
2 changed files with 6 additions and 2 deletions
4
.github/workflows/nodejs.yml
vendored
4
.github/workflows/nodejs.yml
vendored
|
|
@ -24,9 +24,11 @@ jobs:
|
|||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install Redrun
|
||||
run: bun i redrun -g --no-save
|
||||
run: bun i redrun madrun -g --no-save
|
||||
- name: Install
|
||||
run: bun i --no-save
|
||||
- name: Init Madrun
|
||||
run: madrun --init
|
||||
- name: Lint
|
||||
run: redrun fix:lint
|
||||
- name: Typos
|
||||
|
|
|
|||
|
|
@ -168,7 +168,9 @@ test('cloudcmd: static: user menu: C: exists: cancel', async (t) => {
|
|||
const {write} = DOM.IO;
|
||||
|
||||
getCurrentByName.returns({});
|
||||
confirm.resolves([Error('cancel')]);
|
||||
confirm.resolves([
|
||||
Error('cancel'),
|
||||
]);
|
||||
|
||||
await defaultMenu[name]({
|
||||
DOM,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue