mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-06 20:14:01 -06:00
Remove bad import completions tests (#25816)
This commit is contained in:
parent
b21c1fd595
commit
bcd565287c
@ -9,22 +9,6 @@
|
||||
////import * as s from "something";
|
||||
////fo/*b*/
|
||||
|
||||
// @Filename: /c.js
|
||||
////const a = require("./a");
|
||||
////fo/*c*/
|
||||
|
||||
// @Filename: /d.js
|
||||
////const x = 0;/*d*/
|
||||
|
||||
// @Filename: /e.js
|
||||
////const a = import("./a"); // Does not make this an external module
|
||||
////fo/*e*/
|
||||
|
||||
for (const marker of ["c", "d", "e"]) {
|
||||
// Doesn't activate for commonjs-only module, or non-module file unless 'module' is set see also completionsImport_compilerOptionsModule)
|
||||
verify.not.completionListContains({ name: "foo", source: "/a" });
|
||||
}
|
||||
|
||||
goTo.marker("b");
|
||||
verify.completionListContains({ name: "foo", source: "/a" }, "const foo: 0", "", "const", /*spanIndex*/ undefined, /*hasAction*/ true, {
|
||||
includeCompletionsForModuleExports: true,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user