bimplus-renderer 1.8.42 → 1.8.43
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/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
" set there the full version string! ": "",
|
|
7
7
|
" e.g.: semverRange: '1.8.20-my-tag-name-01' ": "",
|
|
8
8
|
"================================================================================================-": "",
|
|
9
|
-
"version": "1.8.
|
|
9
|
+
"version": "1.8.43",
|
|
10
10
|
"description": "bim+ renderer",
|
|
11
11
|
"types": "types/bimplus-renderer.d.ts",
|
|
12
12
|
"keywords": [
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"test": "npm run test-firefox-coverage",
|
|
66
66
|
"test-chrome": "npm run test-chrome-headed",
|
|
67
67
|
"test-firefox": "npm run test-firefox-headed",
|
|
68
|
-
"test-all": "
|
|
68
|
+
"test-all": "node scripts/run-test-suites.js all",
|
|
69
69
|
"//===================== Test helpers and browser/Polly prerequisites ==========================": "",
|
|
70
70
|
"test-firefox-task": "vitest run --project=firefox --outputFile.junit=test-results/vitest-firefox.xml",
|
|
71
71
|
"test-firefox-headed": "start-server-and-test test-polly-listen-task tcp:localhost:3000 \"npm run test-firefox-task -- --browser.headless=false\"",
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
"//=========================================================================================-===": "",
|
|
103
103
|
"// 2.) DDT TESTS Scripts starting modelviewer-data-driven-tests ": "",
|
|
104
104
|
"//============================================================================================-": "",
|
|
105
|
-
"test-modelviewer-all": "node scripts/test-
|
|
105
|
+
"test-modelviewer-all": "node scripts/run-test-suites.js modelviewer",
|
|
106
106
|
"test-modelviewer-ddt": "npm run test-vitest-modelviewer-firefox",
|
|
107
107
|
"test-modelviewer-ddt-long": "npm run test-vitest-modelviewer-firefox-long",
|
|
108
108
|
"test-modelviewer-ddt-watch": "npm run test-vitest-modelviewer-firefox-watch",
|
|
@@ -139,7 +139,7 @@
|
|
|
139
139
|
"@vitest/coverage-istanbul": "5.0.5",
|
|
140
140
|
"acorn": "8.19.0",
|
|
141
141
|
"babel-loader": "^10.1.1",
|
|
142
|
-
"bimplus-websdk": "^1.0.
|
|
142
|
+
"bimplus-websdk": "^1.0.73",
|
|
143
143
|
"clean-webpack-plugin": "^4.0.0",
|
|
144
144
|
"copy-webpack-plugin": "^14.0.0",
|
|
145
145
|
"eslint": "^10.13.0",
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"start-server-and-test": "^3.0.13",
|
|
156
156
|
"terser-webpack-plugin": "^5.3.16",
|
|
157
157
|
"url-loader": "4.1.1",
|
|
158
|
-
"vite": "8.3.
|
|
158
|
+
"vite": "8.3.5",
|
|
159
159
|
"vitest": "5.0.5",
|
|
160
160
|
"webpack": "^5.112.0",
|
|
161
161
|
"webpack-bundle-analyzer": "^5.2.0",
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
"dependencies": {
|
|
166
166
|
"@babel/runtime": "^8.0.7",
|
|
167
167
|
"async": "^3.2.6",
|
|
168
|
-
"dexie": "4.
|
|
168
|
+
"dexie": "4.4.6",
|
|
169
169
|
"numeric": "^1.2.6",
|
|
170
170
|
"three": "^0.185.1",
|
|
171
171
|
"web-ifc": "0.0.78"
|
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
const { spawnSync } = require('node:child_process');
|
|
2
2
|
const path = require('node:path');
|
|
3
3
|
|
|
4
|
-
const
|
|
4
|
+
const modelviewerSuites = [
|
|
5
5
|
'test-modelviewer-ddt',
|
|
6
6
|
'test-modelviewer-ddt-long',
|
|
7
7
|
'test-modelviewer-ddt-visual',
|
|
8
8
|
'test-modelviewer-ddt-visual-long'
|
|
9
9
|
];
|
|
10
10
|
|
|
11
|
+
const suiteGroups = {
|
|
12
|
+
modelviewer: modelviewerSuites,
|
|
13
|
+
all: ['test-firefox-coverage', ...modelviewerSuites]
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
const groupName = process.argv[2] || 'modelviewer';
|
|
17
|
+
const scripts = suiteGroups[groupName];
|
|
18
|
+
|
|
19
|
+
if (!scripts) {
|
|
20
|
+
console.error(`Unknown suite group "${groupName}". Available groups: ${Object.keys(suiteGroups).join(', ')}`);
|
|
21
|
+
process.exit(1);
|
|
22
|
+
}
|
|
23
|
+
|
|
11
24
|
const results = scripts.map(script => {
|
|
12
25
|
console.log(`\n=== ${script} ===\n`);
|
|
13
26
|
const started = Date.now();
|
|
@@ -29,7 +42,7 @@ const results = scripts.map(script => {
|
|
|
29
42
|
});
|
|
30
43
|
|
|
31
44
|
const failed = results.filter(result => result.Result === 'FAIL').length;
|
|
32
|
-
console.log(
|
|
45
|
+
console.log(`\n=== Test Summary (${groupName}) ===\n`);
|
|
33
46
|
console.table(results);
|
|
34
47
|
console.log(`Overall: ${failed === 0 ? 'PASS' : 'FAIL'} (${results.length - failed} passed, ${failed} failed)`);
|
|
35
|
-
process.exitCode = failed === 0 ? 0 : 1;
|
|
48
|
+
process.exitCode = failed === 0 ? 0 : 1;
|