add integration test for the new extractor option to disable type extraction

This commit is contained in:
erik-krogh
2023-12-15 09:53:13 +01:00
parent 5bc2183fc3
commit 9cc708b122
6 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1 @@
export const foo: { bar: number } = { bar: 42};

View File

@@ -0,0 +1,5 @@
import javascript
from Expr e, Type t
where t = e.getType()
select e, t

View File

@@ -0,0 +1,2 @@
dependencies:
codeql/javascript-all: '*'

View 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"})