Skip to content

Commit bcd5652

Browse files
author
Andy
authored
Remove bad import completions tests (#25816)
1 parent b21c1fd commit bcd5652

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

tests/cases/fourslash/completionsImport_require.ts

-16
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,6 @@
99
////import * as s from "something";
1010
////fo/*b*/
1111

12-
// @Filename: /c.js
13-
////const a = require("./a");
14-
////fo/*c*/
15-
16-
// @Filename: /d.js
17-
////const x = 0;/*d*/
18-
19-
// @Filename: /e.js
20-
////const a = import("./a"); // Does not make this an external module
21-
////fo/*e*/
22-
23-
for (const marker of ["c", "d", "e"]) {
24-
// Doesn't activate for commonjs-only module, or non-module file unless 'module' is set see also completionsImport_compilerOptionsModule)
25-
verify.not.completionListContains({ name: "foo", source: "/a" });
26-
}
27-
2812
goTo.marker("b");
2913
verify.completionListContains({ name: "foo", source: "/a" }, "const foo: 0", "", "const", /*spanIndex*/ undefined, /*hasAction*/ true, {
3014
includeCompletionsForModuleExports: true,

0 commit comments

Comments
 (0)