mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update failing test.
This commit is contained in:
committed by
GitHub
parent
fce282b5bd
commit
ea2c290ba8
@@ -1,14 +1,14 @@
|
||||
/// <reference path="./fourslash.ts" />
|
||||
|
||||
// @allowJs: true
|
||||
// @module: commonjs
|
||||
// @Filename: /library.js
|
||||
//// export function aaa() {}
|
||||
//// export function bbb() {}
|
||||
//// module.exports.aaa = function() {}
|
||||
//// module.exports.bbb = function() {}
|
||||
|
||||
// @Filename: /foo.js
|
||||
//// var a = require("./library").aaa;
|
||||
//// bbb/**/
|
||||
//// var aaa = require("./library.js").aaa;
|
||||
//// aaa();
|
||||
//// /**/bbb
|
||||
|
||||
goTo.marker();
|
||||
verify.codeFixAvailable();
|
||||
verify.getAndApplyCodeFix(ts.Diagnostics.Cannot_find_name_0.code);
|
||||
Reference in New Issue
Block a user