Ad
  • Custom User Avatar
    Test.assertEquals(true, true, 'Should be true');
    
  • Custom User Avatar

    I'm getting a Syntax Error: Unexpected identifier error whenever I try to write a test to check my solutions in Javascript katas. I can't even get it to run when I put the exact same value for actual and expected.
    I even get the syntax error with something like this:

    var answer = true;
    Test.assertEquals(answer, answer, [optional] message);
    

    How should I write the test so that I can check my solutions?