mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
feat(cli): Update to TypeScript 4.4 (#11678)
This commit is contained in:
parent
b9a965c607
commit
935133f53a
18 changed files with 18623 additions and 15871 deletions
|
@ -3304,7 +3304,28 @@ mod tests {
|
|||
);
|
||||
assert!(result.is_ok());
|
||||
let response = result.unwrap();
|
||||
assert_eq!(response, json!({}));
|
||||
assert_eq!(
|
||||
response,
|
||||
json!({
|
||||
"file:///a.ts": [
|
||||
{
|
||||
"start": {
|
||||
"line": 0,
|
||||
"character": 35,
|
||||
},
|
||||
"end": {
|
||||
"line": 0,
|
||||
"character": 35
|
||||
},
|
||||
"fileName": "file:///a.ts",
|
||||
"messageText": "Identifier expected.",
|
||||
"sourceLine": "const url = new URL(\"b.js\", import.",
|
||||
"category": 1,
|
||||
"code": 1003,
|
||||
}
|
||||
]
|
||||
})
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue