-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix how parent directory references are treated when finding other `.…
…` indexes Resolves #48
- Loading branch information
1 parent
f89f4e9
commit f40fec2
Showing
4 changed files
with
15 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
var dotdotSlashX3 = require("~/some/deep/#{../../../some/deep/folder/which}"); | ||
var dotdotSlashX3AndExport = require("~/some/deep/#{../../../some/deep/folder/which.foo}"); | ||
|
||
QUnit.test("works with relative condition module reference", function(assert) { | ||
assert.equal(dotdotSlashX3, "bar", "should load '~/some/deep/foo'"); | ||
assert.equal(dotdotSlashX3AndExport, "bar", "should load '~/some/deep/foo'"); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
module.exports = "foo"; | ||
module.exports.foo = module.exports; |