mirror of
https://github.com/github/codeql.git
synced 2026-05-01 03:35:13 +02:00
JavaScript: Add yet another API-graph test with re-exports.
This commit is contained in:
@@ -3,5 +3,6 @@ const impl = require("./lib/impl.js");
|
||||
module.exports = {
|
||||
impl,
|
||||
util: require("./lib/utils"),
|
||||
other: require("./lib/stuff")
|
||||
};
|
||||
other: require("./lib/stuff"),
|
||||
util2: require("./lib/utils2")
|
||||
};
|
||||
|
||||
5
javascript/ql/test/ApiGraphs/reexport/lib/utils2.js
Normal file
5
javascript/ql/test/ApiGraphs/reexport/lib/utils2.js
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
id: function id(x) { /* use (parameter 0 (member id (member util2 (member exports (module reexport)))) */
|
||||
return x;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user