Shut eslint up and fix test
This commit is contained in:
parent
11d3715aca
commit
a2cea678fe
|
@ -13,7 +13,10 @@
|
|||
},
|
||||
"rules": {
|
||||
"lodash/prefer-lodash-method": [2, {
|
||||
"ignoreMethods": ["find", "endsWith", "startsWith", "filter", "map"]
|
||||
"ignoreMethods": [
|
||||
"find", "endsWith", "startsWith", "filter",
|
||||
"map", "replace", "toLower", "split", "trim"
|
||||
]
|
||||
}],
|
||||
"lodash/prefer-startswith": "off",
|
||||
"lodash/prefer-constant": "off",
|
||||
|
|
|
@ -1414,8 +1414,8 @@
|
|||
var $chat_body = view.$('.chatroom-body');
|
||||
expect($chat_body.html().trim().indexOf(
|
||||
'<p>You have been kicked from this room</p>'+
|
||||
'<p>This action was done by <strong>Fluellen</strong>.</p>'+
|
||||
'<p>The reason given is: <em>"Avaunt, you cullion!"</em>.</p>'
|
||||
'<p>This action was done by Fluellen.</p>'+
|
||||
'<p>The reason given is: "Avaunt, you cullion!".</p>'
|
||||
)).not.toBe(-1);
|
||||
}));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user