Ad
  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Error in test with .map:

    TypeError: Cannot read property 'map' of null
    at sumOfIntegersInString
    at exampleTests.forEach
    at Array.forEach
    at describe
    at /runner/frameworks/javascript/cw-2.js:152:11
    at Promise._execute
    at Promise._resolveFromExecutor
    at new Promise
    at describe
    at /home/codewarrior/index.js:15:5
    at /home/codewarrior/index.js:31:5
    at Object.handleError

    same error using forEach, and even for cycle, I've writter 3 variants of test, but it's not passed with error (above)

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar

    Error in test with .map:

    TypeError: Cannot read property 'map' of null
    at sumOfIntegersInString
    at exampleTests.forEach
    at Array.forEach
    at describe
    at /runner/frameworks/javascript/cw-2.js:152:11
    at Promise._execute
    at Promise._resolveFromExecutor
    at new Promise
    at describe
    at /home/codewarrior/index.js:15:5
    at /home/codewarrior/index.js:31:5
    at Object.handleError

    same error using forEach, and even for cycle, I've writter 3 variants of test, but it's not passed with error (above)