chore: fixup linting the api tests

This commit is contained in:
Mrugesh Mohapatra
2019-02-26 00:38:31 +05:30
committed by Stuart Taylor
parent 1faa8dc0c1
commit 58edfce838
2 changed files with 5 additions and 0 deletions

View File

@ -42,6 +42,7 @@ export const mockCompletedChallenges = [
files: [
{
contents:
// eslint-disable-next-line max-len
"function palindrome(str) {\n const clean = str.replace(/[\\W_]/g, '').toLowerCase()\n const revStr = clean.split('').reverse().join('');\n return clean === revStr;\n}\n\n\n\npalindrome(\"eye\");\n",
ext: 'js',
path: 'index.js',