fix(challenges): fix regex (es6 : import vs require)
ISSUES CLOSED: #108
This commit is contained in:
committed by
Kristofer Koishigawa
parent
f31fe38d43
commit
f4d598f060
@ -1301,7 +1301,7 @@
|
||||
{
|
||||
"text": "valid <code>import</code> statement",
|
||||
"testString":
|
||||
"getUserInput => assert(getUserInput('index').match(/import\\s+\\{\\s?capitalizeString\\s?\\}\\s+from\\s+\"string_functions\"/g), 'valid <code>import</code> statement');"
|
||||
"getUserInput => assert(getUserInput('index').match(/import\\s+\\{\\s?capitalizeString\\s?\\}\\s+from\\s+(\"|')string_functions\\1/g), 'valid <code>import</code> statement');"
|
||||
}
|
||||
],
|
||||
"releasedOn": "Feb 17, 2017",
|
||||
|
Reference in New Issue
Block a user