2018-06-01 17:23:37 +02:00
|
|
|
/// <reference path='fourslash.ts' />
|
|
|
|
|
|
|
|
// @moduleResolution: classic
|
|
|
|
|
|
|
|
// @Filename: /src/user.ts
|
|
|
|
////import { x } from "old";
|
|
|
|
|
|
|
|
// @Filename: /src/old.ts
|
2018-06-27 01:55:51 +02:00
|
|
|
////export const x = 0;
|
2018-06-01 17:23:37 +02:00
|
|
|
|
|
|
|
verify.getEditsForFileRename({
|
|
|
|
oldPath: "/src/old.ts",
|
|
|
|
newPath: "/src/new.ts",
|
|
|
|
newFileContents: {
|
|
|
|
"/src/user.ts":
|
|
|
|
`import { x } from "./new";`,
|
|
|
|
},
|
|
|
|
});
|