mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
With the old test runner we cannot have `VerifyAssertions.qlref`s for each individual test that reference a shared `VerifyAssertions.ql` in the parent directory, since it doesn't like nested tests. Instead, we have to turn `VerifyAssertions.ql` into `VerifyAssertions.qll`, and each `VerifyAsssertions.qlref` into a `VerifyAssertions.ql` that imports it. But then that doesn't work with our old directory structure, since the import path would have to contain the invalid identifier `library-tests`. As a workaround, I have moved the API graph tests into a directory without dashes in its path.
11 lines
658 B
JavaScript
11 lines
658 B
JavaScript
const http = require('http');
|
|
let req = http.get(url, cb);
|
|
req.on('connect', (
|
|
req, /* use (parameter 0 (parameter 1 (member on (return (member get (member exports (module http))))))) */
|
|
clientSocket, head) => { /* ... */ });
|
|
req.on('information', (
|
|
info /* use (parameter 0 (parameter 1 (member on (return (member get (member exports (module http))))))) */
|
|
) => { /* ... */ });
|
|
|
|
req.on('connect', () => { }) /* def (parameter 0 (member on (return (member get (member exports (module http)))))) */
|
|
.on('information', () => { }) /* def (parameter 0 (member on (return (member on (return (member get (member exports (module http)))))))) */; |