mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 11:54:44 -06:00
Add new test for import..require
This commit is contained in:
parent
7d31b5c8a3
commit
f09628900a
12
tests/cases/fourslash/renameImportRequire.ts
Normal file
12
tests/cases/fourslash/renameImportRequire.ts
Normal file
@ -0,0 +1,12 @@
|
||||
/// <reference path='fourslash.ts' />
|
||||
|
||||
////import [|e|] = require("mod4");
|
||||
////[|e|];
|
||||
////a = { [|e|] };
|
||||
////export { [|e|] };
|
||||
|
||||
let ranges = test.ranges()
|
||||
for (let range of ranges) {
|
||||
goTo.position(range.start);
|
||||
verify.renameLocations(/*findInStrings*/ false, /*findInComments*/ false);
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user