mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
chore: cloudcmd: actions: lint ☘️
This commit is contained in:
parent
7aacf203a0
commit
6b9d43e9ab
16 changed files with 28 additions and 9 deletions
|
|
@ -71,6 +71,7 @@ function getPathLink(url, prefix, template) {
|
|||
'/',
|
||||
...names,
|
||||
];
|
||||
|
||||
const lines = [];
|
||||
const n = allNames.length;
|
||||
|
||||
|
|
|
|||
|
|
@ -43,9 +43,11 @@ test('cloudfunc: buildFromJSON: ..', (t) => {
|
|||
|
||||
const $ = cheerio.load(html);
|
||||
const el = $('[data-name="js-file-Li4="]');
|
||||
|
||||
const result = el
|
||||
.find('[data-name="js-name"]')
|
||||
.text();
|
||||
|
||||
const expected = '..';
|
||||
|
||||
t.equal(result, expected);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue