Skip to content

Commit 52f4e26

Browse files
committed
chore: debug
1 parent 39cc1e0 commit 52f4e26

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
"release": "standard-version -a",
7474
"release:github": "github-generate-release",
7575
"release:tags": "git push --follow-tags origin HEAD:master",
76-
"test": "c8 ava"
76+
"test": "c8 ava --fail-fast"
7777
},
7878
"license": "MIT",
7979
"ava": {

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ module.exports = (snippet, { tmpdir, timeout, memory, throwError = true, allow =
6161
})()
6262
: { isFulfilled: false, value: deserializeError(value), profiling, logging }
6363
} catch (error) {
64+
console.log('=========== DEBUG ===========')
65+
console.log('args', JSON.stringify(args))
66+
console.log(error)
6467
if (error.signalCode === 'SIGTRAP') {
6568
throw createError({
6669
name: 'MemoryError',

0 commit comments

Comments
 (0)