mirror of
https://github.com/github/codeql.git
synced 2026-04-26 17:25:19 +02:00
add integration test for the new extractor option to disable type extraction
This commit is contained in:
@@ -0,0 +1 @@
|
||||
export const foo: { bar: number } = { bar: 42};
|
||||
@@ -0,0 +1,5 @@
|
||||
import javascript
|
||||
|
||||
from Expr e, Type t
|
||||
where t = e.getType()
|
||||
select e, t
|
||||
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
codeql/javascript-all: '*'
|
||||
3
javascript/ql/integration-tests/all-platforms/no-types/test.py
Executable file
3
javascript/ql/integration-tests/all-platforms/no-types/test.py
Executable file
@@ -0,0 +1,3 @@
|
||||
from create_database_utils import *
|
||||
|
||||
run_codeql_database_create([], lang="javascript", extra_env={"CODEQL_EXTRACTOR_JAVASCRIPT_OPTION_SKIP_TYPES": "true"})
|
||||
@@ -0,0 +1 @@
|
||||
{}
|
||||
Reference in New Issue
Block a user