feat(cli): Update to TypeScript 4.4 (#11678)

This commit is contained in:
Kitson Kelly 2021-08-27 10:12:59 +10:00 committed by GitHub
parent b9a965c607
commit 935133f53a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 18623 additions and 15871 deletions

View file

@ -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]