diff --git a/package.json b/package.json index fea6e2b71..c7af7c354 100644 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "merge": "abapmerge -f src/zabapgit.prog.abap -c zabapgit_standalone -o zabapgit.abap", "merge.ci": "cp zabapgit.abap ci/zabapgit_standalone.prog.abap && cd ci && abaplint --format codeframe && cd ..", "build": "rm -rf output && abap_transpile test/abap_transpile.json", - "unit": "npm run build && echo RUNNING && node output/index.mjs", + "unit": "npm run build && echo RUNNING && node output/index.mjs --skip-critical", "coverage": "npm run unit && c8 node output/index.mjs && c8 report --reporter=html", - "integration": "rm -rf output && cp test/abap_transpile.json test/abap_transpile_int.json && sed -i 's/src,deps/test\\/src,src,deps/g' test/abap_transpile_int.json && abap_transpile test/abap_transpile_int.json && cp -f src/ui/zabapgit_icon_font.w3mi.data.woff output/ && echo RUNNING && node output/index.mjs", + "integration": "npm run build && cp -f src/ui/zabapgit_icon_font.w3mi.data.woff output/ && echo RUNNING && node output/index.mjs --only-critical", "abaplint": "abaplint --format codeframe", "eslint": "eslint src" }, diff --git a/test/.gitignore b/test/.gitignore deleted file mode 100644 index f02d87dee..000000000 --- a/test/.gitignore +++ /dev/null @@ -1 +0,0 @@ -abap_transpile_int.json \ No newline at end of file diff --git a/test/abap_transpile.json b/test/abap_transpile.json index 5ebc942bc..a62580ecc 100644 --- a/test/abap_transpile.json +++ b/test/abap_transpile.json @@ -1,5 +1,5 @@ { - "input_folder": "{src,deps}", + "input_folder": "{src,deps,test/src}", "input_filter": [ "\\.w3mi.", "deps/",