mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-07 05:36:08 +08:00
chore(deps-dev): bump prettier from 1.19.1 to 2.0.2
This commit is contained in:
@@ -30,14 +30,8 @@ describe('debug', () => {
|
||||
|
||||
const $ = cheerio.load(response.text);
|
||||
$('.debug-item').each((index, item) => {
|
||||
const key = $(item)
|
||||
.find('.debug-key')
|
||||
.html()
|
||||
.trim();
|
||||
const value = $(item)
|
||||
.find('.debug-value')
|
||||
.html()
|
||||
.trim();
|
||||
const key = $(item).find('.debug-key').html().trim();
|
||||
const value = $(item).find('.debug-value').html().trim();
|
||||
switch (key) {
|
||||
case 'node name:':
|
||||
expect(value).toBe('mock');
|
||||
|
||||
Reference in New Issue
Block a user