testeranto 0.233.5 → 0.233.6

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
@@ -2,7 +2,7 @@
2
2
  "name": "testeranto",
3
3
  "displayName": "Testeranto",
4
4
  "description": "the Dockerized, AI powered, BDD test framework for polyglot projects",
5
- "version": "0.233.5",
5
+ "version": "0.233.6",
6
6
  "engines": {
7
7
  "node": ">=20.19.0",
8
8
  "vscode": "^1.60.0",
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "grafeovidajo",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "grafeovidajo",
9
- "version": "0.0.7",
9
+ "version": "0.0.8",
10
10
  "dependencies": {
11
11
  "@types/glob": "^9.0.0",
12
12
  "glob": "^13.0.6"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "grafeovidajo",
3
- "version": "0.0.7",
3
+ "version": "0.0.8",
4
4
  "description": "Visualization library for Testeranto",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -291,8 +291,11 @@ export class Server_HTTP_utils {
291
291
  const htmlContent = await fs.promises.readFile(htmlPath, "utf-8");
292
292
 
293
293
  // Extract features and documentation files from all test results
294
- const { features, documentationFiles, bddStatus, featureGraph } =
295
- await this.extractFeaturesAndDocsFromTestResults(allTestResults);
294
+ const result = await this.extractFeaturesAndDocsFromTestResults(allTestResults);
295
+ const features = result.features || [];
296
+ const documentationFiles = result.documentationFiles || [];
297
+ const bddStatus = result.bddStatus || {};
298
+ const featureGraph = result.featureGraph || { nodes: [], edges: [] };
296
299
 
297
300
  // Read contents of documentation files
298
301
  const documentationWithContent = await this.readDocumentationFiles(documentationFiles);
@@ -316,8 +319,8 @@ export class Server_HTTP_utils {
316
319
  allTestResults: allTestResults,
317
320
  // Add file contents for files in the tree
318
321
  fileContents: await this.extractFileContentsFromTree(collatedFilesTree),
319
- // Add feature graph for visualization
320
- featureGraph: featureGraph,
322
+ // Add feature graph for visualization (with fallback)
323
+ featureGraph: featureGraph || { nodes: [], edges: [] },
321
324
  // Add grafeovidajo configuration
322
325
  vizConfig: {
323
326
  projection: {