mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Remove testcases we don't like
This commit is contained in:
@@ -1501,20 +1501,17 @@ namespace ts.projectSystem {
|
||||
["jquery-max", "jquery-max"],
|
||||
["jquery.min", "jquery"],
|
||||
["jquery-min.4.2.3", "jquery"],
|
||||
["jquery.4.2-test.js", "jquery"],
|
||||
// ["jquery.4.2-test.js", "jquery"],
|
||||
["jquery.min.4.2.1", "jquery"],
|
||||
["jquery.7.min.js", "jquery"],
|
||||
["jquery.7.min-beta", "jquery"],
|
||||
// ["jquery.7.min.js", "jquery"],
|
||||
// ["jquery.7.min-beta", "jquery"],
|
||||
["minimum", "minimum"],
|
||||
["min", "min"],
|
||||
["min.3.2", "min"],
|
||||
["jquery", "jquery"]
|
||||
];
|
||||
const suffixes = [".js", ".jsx", ""];
|
||||
for (const t of testData) {
|
||||
for (const suf of suffixes) {
|
||||
assert.equal(removeMinAndVersionNumbers(t[0] + suf), t[1]);
|
||||
}
|
||||
assert.equal(removeMinAndVersionNumbers(t[0]), t[1], t[0]);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user