* use canonical file name when resolve module * renameSync in vfs supports same folder. * Update src/harness/vfsUtil.ts Co-authored-by: Ron Buckton <ron.buckton@microsoft.com> * change tss rather than compiler. * remove useless comment. * use fileName rather than path. Co-authored-by: Song Gao <song.gao@laserfiche.com> Co-authored-by: Ron Buckton <ron.buckton@microsoft.com>
14 lines
273 B
TypeScript
14 lines
273 B
TypeScript
/// <reference path='fourslash.ts' />
|
|
|
|
// @Filename: /a/b/file1.ts
|
|
////import { foo } from "foo";
|
|
|
|
// @Filename: /a/node_modules/foo/index.d.ts
|
|
////export const foo = 0;
|
|
|
|
verify.getEditsForFileRename({
|
|
oldPath: "/a/b",
|
|
newPath: "/a/B",
|
|
newFileContents: {},
|
|
});
|