Home / File/ test-env.d.ts — vue Source File

test-env.d.ts — vue Source File

Architecture documentation for test-env.d.ts, a typescript file in the vue codebase.

Entity Profile

Relationship Graph

Source Code

interface Chainer {
  then(next: Function): this
  thenWaitFor(n: number | Function): this
  end(endFn: Function): void
}

declare function waitForUpdate(cb: Function): Chainer

declare function createTextVNode(arg?: string): any

declare function triggerEvent(
  target: Element,
  event: string,
  process?: (e: any) => void
): void

// vitest extends jest namespace so we can just extend jest.Matchers
declare namespace jest {
  interface Matchers<R, T> {
    toHaveBeenWarned(): R
    toHaveBeenWarnedLast(): R
    toHaveBeenWarnedTimes(n: number): R
    toHaveBeenTipped(): R
    toHaveClass(cls: string): R
  }
}

declare const jasmine: {
  createSpy: (id?: string) => {
    (...args: any[]): any
    calls: {
      count(): number
    }
  }
  addMatchers(matchers: any): void
}

Domain

Subdomains

Frequently Asked Questions

What does test-env.d.ts do?
test-env.d.ts is a source file in the vue codebase, written in typescript. It belongs to the VueCore domain, Observer subdomain.
Where is test-env.d.ts in the architecture?
test-env.d.ts is located at test/test-env.d.ts (domain: VueCore, subdomain: Observer, directory: test).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free