Skip to content

Commit 965d118

Browse files
authored
enhance attest trace command (#1332)
1 parent d79bc52 commit 965d118

File tree

15 files changed

+780
-214
lines changed

15 files changed

+780
-214
lines changed

ark/attest/assert/attest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export const attestInternal = (
8181
export const attest: AttestFn = Object.assign(attestInternal, {
8282
instantiations: (args: Measure<"instantiations"> | undefined) => {
8383
const attestConfig = getConfig()
84-
if (attestConfig.skipInlineInstantiations) return
84+
if (attestConfig.skipTypes || attestConfig.skipInlineInstantiations) return
8585

8686
const calledFrom = caller()
8787
const ctx = getBenchCtx([calledFrom.file])

ark/attest/cache/ts.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export const nearestCallExpressionChild = (
7474
return result
7575
}
7676

77-
const nearestBoundingCallExpression = (
77+
export const nearestBoundingCallExpression = (
7878
node: ts.Node,
7979
position: number
8080
): ts.CallExpression | undefined =>

0 commit comments

Comments
 (0)