testdriverai 4.0.62 → 4.0.63

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.
Files changed (2) hide show
  1. package/lib/profiler.js +1 -5
  2. package/package.json +1 -1
package/lib/profiler.js CHANGED
@@ -10,11 +10,7 @@ const MAX_EXECUTION_TIME_MS = 30000;
10
10
 
11
11
  // Helper function to check if the function is defined in your project files
12
12
  function isProjectFunction() {
13
- const stackTrace = new Error().stack;
14
-
15
- // Check the stack trace to see if the file path belongs to your project
16
- const projectRoot = process.cwd(); // Gets the current working directory of your project
17
- return stackTrace && stackTrace.split('\n').some(line => line.includes(projectRoot));
13
+ return true;
18
14
  }
19
15
 
20
16
  // Override the apply method to add tracing and timing for project functions only
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "testdriverai",
3
- "version": "4.0.62",
3
+ "version": "4.0.63",
4
4
  "description": "Next generation autonomous AI agent for end-to-end testing of web & desktop",
5
5
  "main": "index.js",
6
6
  "bin": {