mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
Added unit test for jumping to a function in exports.
Modified _waitForJump to wait until the jump promise is done, rather than checking that the cursor had changed. Updated 1 other test which was looking at everything that was exported from the test module.
This commit is contained in:
1 parent
269c3b77c9
commit
0f73f04bcc
3 files changed
+33
-8
No files matched your search
@@ -7,4 +7,10 @@ define(function (require, exports, module) {
|
||||
return "a string";
|
||||
};
|
||||
exports.j = "hi";
|
||||
|
||||
|
||||
function c() {
|
||||
}
|
||||
|
||||
exports.c = c;
|
||||
});
|
||||
@@ -155,6 +155,11 @@ function testNonAscii() {
|
||||
|
||||
}
|
||||
|
||||
require(["MyModule"], function (myModule) {
|
||||
'use strict';
|
||||
var x = myModule.c;
|
||||
});
|
||||
|
||||
/* Add large comment to make this test over 250 lines which will trigger
|
||||
* partial updates to be used.
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user