Remove bad import completions tests (#25816)

This commit is contained in:
Andy 2018-07-20 11:11:03 -07:00 committed by GitHub
parent b21c1fd595
commit bcd565287c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,