Files
codeql/javascript/ql/test/library-tests/frameworks/Express/RequestBodyAccess.qll
Max Schaefer d4d9d61216 JavaScript: Consolidate Express tests.
Instead of having many small independent tests, we now just have a single test that pulls in all the individual tests and runs them together.

Concretely, each `.ql` file has been turned into a `.qll` file with a query predicate corresponding to the original `select` clause and named after the original `.ql` file, plus a prefix `test_`.

The newly added `tests.ql` imports all these `.qll`s.

The individual `.expected` files have been concatenated together into `tests.expected`, each prefixed with the name of the corresponding query predicate. (This is the format that qltest produces for tests with multiple query predicates.)
2019-03-01 09:39:31 +00:00

4 lines
100 B
Plaintext

import javascript
query predicate test_RequestBodyAccess(Express::RequestBodyAccess rba) { any() }