mirror of https://github.com/lukechilds/node.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
497 B
23 lines
497 B
Check that setScriptSource completes correctly when an exception is thrown.
|
|
|
|
Running test: testIncorrectScriptId
|
|
{
|
|
error : {
|
|
code : -32000
|
|
message : No script with given id found
|
|
}
|
|
id : <messageId>
|
|
}
|
|
|
|
Running test: testSourceWithSyntaxError
|
|
{
|
|
id : <messageId>
|
|
result : {
|
|
exceptionDetails : {
|
|
columnNumber : 2
|
|
exceptionId : <exceptionId>
|
|
lineNumber : 0
|
|
text : Invalid or unexpected token
|
|
}
|
|
}
|
|
}
|
|
|