chore(deps-dev): bump prettier from 1.19.1 to 2.0.2

This commit is contained in:
DIYgod
2020-04-02 21:21:46 +08:00
parent 27e4a7c151
commit 0e7b14e718
471 changed files with 1237 additions and 4457 deletions

View File

@@ -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');