You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.strictEqual(actualError.name,'ParseSyntaxError',`Expected a ParseSyntaxError exception but got ${actualError}:\n\n${actualError.stack}`);
31
-
assert(actualError.message===expectedErrorMessage,`Got error message <${actualError.message}> but expected <${expectedErrorMessage}>`);
32
-
assert.deepStrictEqual(actualError.range,expectedRange,`Expected the error range to be ${getParseSourceRangeString(expectedRange)} but it is ${getParseSourceRangeString(actualError.range)}`);
assert.strictEqual(actualError.name,'ParseSyntaxError',`Expected a ParseSyntaxError exception but got ${actualError}:\n\n${actualError.stack}`);
50
+
constactualParseError=actualErrorasParseError;
51
+
assert(actualParseError.message===expectedErrorMessage,`Got error message <${actualParseError.message}> but expected <${expectedErrorMessage}>`);
52
+
assert.deepStrictEqual(actualParseError.range,expectedRange,`Expected the error range to be ${getParseSourceRangeString(expectedRange)} but it is ${getParseSourceRangeString(actualParseError.range)}`);
0 commit comments