mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
The fix is to cutoff the leading slash on a module name. Test is not working due to issues with the ProjectManager and the missing projectRoot
This commit is contained in:
1 parent
b408b51706
commit
b856768671
4 files changed
+62
-4
No files matched your search
@@ -1806,6 +1806,32 @@ define(function (require, exports, module) {
|
||||
|
||||
});
|
||||
|
||||
describe("Code Hinting Regression", function () {
|
||||
var testFile = extensionPath + "/unittest-files/module-test-files/china/cupFiller.js";
|
||||
|
||||
beforeEach(function () {
|
||||
setupTest(testFile, true);
|
||||
});
|
||||
|
||||
afterEach(function () {
|
||||
tearDownTest();
|
||||
});
|
||||
|
||||
// The test is disabled, because the TernWorker will consult the ProjectManager to
|
||||
// determine all the files in the project root. We don't have a project root for this
|
||||
// testcase. Perhaps we need to change the testsetup or find another way of dealing with this
|
||||
// Test makes sure that http://github.com/adobe/brackets/issue/6931 doesn't show up
|
||||
xit("should show hints for members of referenced class", function () {
|
||||
var start = { line: 8, ch: 15 };
|
||||
|
||||
runs(function () {
|
||||
testEditor.setCursorPos(start);
|
||||
var hintObj = expectHints(JSCodeHints.jsHintProvider);
|
||||
hintsPresentExact(hintObj, ["empty", "emptyIt", "fill", "full"]);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe("JavaScript Code Hinting format parameters tests", function () {
|
||||
|
||||
it("should format parameters with no params", function () {
|
||||
@@ -1859,7 +1885,5 @@ define(function (require, exports, module) {
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user