Skip to content

Commit

Permalink
Update failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielRosenwasser authored Jan 13, 2022
1 parent fce282b commit ea2c290
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/cases/fourslash/importFixesWithExistingDottedRequire.ts
Original file line number Diff line number Diff line change
@@ -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);

0 comments on commit ea2c290

Please sign in to comment.