Skip to content

Commit ea2c290

Browse files
Update failing test.
1 parent fce282b commit ea2c290

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
/// <reference path="./fourslash.ts" />
22

33
// @allowJs: true
4-
// @module: commonjs
54
// @Filename: /library.js
6-
//// export function aaa() {}
7-
//// export function bbb() {}
5+
//// module.exports.aaa = function() {}
6+
//// module.exports.bbb = function() {}
87

98
// @Filename: /foo.js
10-
//// var a = require("./library").aaa;
11-
//// bbb/**/
9+
//// var aaa = require("./library.js").aaa;
10+
//// aaa();
11+
//// /**/bbb
1212

1313
goTo.marker();
14-
verify.codeFixAvailable();
14+
verify.getAndApplyCodeFix(ts.Diagnostics.Cannot_find_name_0.code);

0 commit comments

Comments
 (0)