velocious 1.0.51 → 1.0.53
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
package/src/configuration.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {digg} from "diggerize"
|
|
2
2
|
import restArgsError from "./utils/rest-args-error.js"
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
// import {withTrackedStack} from "./utils/with-tracked-stack.js"
|
|
4
5
|
|
|
5
6
|
export default class VelociousConfiguration {
|
|
6
7
|
static current(throwError = true) {
|
|
@@ -158,9 +159,9 @@ export default class VelociousConfiguration {
|
|
|
158
159
|
const dbs = {}
|
|
159
160
|
const stack = Error().stack
|
|
160
161
|
const actualCallback = async () => {
|
|
161
|
-
await withTrackedStack(stack, async () => {
|
|
162
|
+
// await withTrackedStack(stack, async () => {
|
|
162
163
|
return await callback(dbs)
|
|
163
|
-
})
|
|
164
|
+
// })
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
let runRequest = actualCallback
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {addTrackedStackToError} from "../utils/with-tracked-stack.js"
|
|
1
|
+
// import {addTrackedStackToError} from "../utils/with-tracked-stack.js"
|
|
2
2
|
import Application from "../../src/application.js"
|
|
3
3
|
import BacktraceCleaner from "../utils/backtrace-cleaner.js"
|
|
4
4
|
import RequestClient from "./request-client.js"
|
|
@@ -146,7 +146,7 @@ export default class TestRunner {
|
|
|
146
146
|
this._failedTests++
|
|
147
147
|
|
|
148
148
|
// console.error(`${leftPadding} Test failed: ${error.message}`)
|
|
149
|
-
addTrackedStackToError(error)
|
|
149
|
+
// addTrackedStackToError(error)
|
|
150
150
|
|
|
151
151
|
const backtraceCleaner = new BacktraceCleaner(error)
|
|
152
152
|
const cleanedStack = backtraceCleaner.getCleanedStack()
|