We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27f97f1 commit 8994903Copy full SHA for 8994903
src/stubs.ts
@@ -7,7 +7,7 @@ import { NotAMockFunctionError } from './errors.ts'
7
import { getFallbackImplementation } from './fallback-implementation.ts'
8
import type { AnyCallable, Mock, ParametersOf } from './types.ts'
9
10
-const BEHAVIORS_KEY = Symbol('behaviors')
+const BEHAVIORS_KEY = Symbol.for('vitest-when:behaviors')
11
12
interface WhenStubImplementation<TFunc extends AnyCallable> {
13
(...args: ParametersOf<TFunc>): unknown
0 commit comments