Skip to content

Commit 2645073

Browse files
committed
set the default depth level for recursive types to 3 instead of 5
1 parent ed454e6 commit 2645073

File tree

1 file changed

+1
-2
lines changed
  • src/experimental/test/property/arbitraries/candid/recursive

1 file changed

+1
-2
lines changed

src/experimental/test/property/arbitraries/candid/recursive/index.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import '#experimental/build/assert_experimental';
22

33
import fc from 'fast-check';
44

5-
import { DEFAULT_DEFINITION_MAX_DEPTH } from '../../config';
65
import { Context } from '../../types';
76
import { complexCandidDefinitionMemo } from '../candid_definition_arb/complex_candid_definition_memo';
87
import { RecursiveCandidDefinition } from '../candid_definition_arb/types';
@@ -23,7 +22,7 @@ export function RecursiveArb(
2322
{
2423
...context,
2524
constraints: {
26-
depthLevel: DEFAULT_DEFINITION_MAX_DEPTH,
25+
depthLevel: 3,
2726
forceInline: true
2827
}
2928
},

0 commit comments

Comments
 (0)