@abaplint/transpiler 2.3.90 → 2.3.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/unit_test.js +4 -0
- package/package.json +2 -2
package/build/src/unit_test.js
CHANGED
|
@@ -128,6 +128,10 @@ async function run() {
|
|
|
128
128
|
// todo, fix, there might be global test methods
|
|
129
129
|
continue;
|
|
130
130
|
}
|
|
131
|
+
const hasTestFile = obj.getFiles().some(f => { return f.getFilename().includes(".testclasses."); });
|
|
132
|
+
if (hasTestFile === false) {
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
131
135
|
ret += ` {
|
|
132
136
|
const {${def.name}} = await import("./${this.escapeNamespace(obj.getName().toLowerCase())}.${obj.getType().toLowerCase()}.testclasses.mjs");
|
|
133
137
|
locl = clas.addTestClass("${def.name}");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abaplint/transpiler",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.91",
|
|
4
4
|
"description": "Transpiler",
|
|
5
5
|
"main": "build/src/index.js",
|
|
6
6
|
"typings": "build/src/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"author": "abaplint",
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@abaplint/core": "^2.94.
|
|
31
|
+
"@abaplint/core": "^2.94.9",
|
|
32
32
|
"source-map": "^0.7.4"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|