Home / Function/ contentEmbeddingMock() — supabase Function Reference

contentEmbeddingMock() — supabase Function Reference

Architecture documentation for the contentEmbeddingMock() function in searchDocs.test.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  778564c0_b5cf_e533_b7d9_4727759dd00a["contentEmbeddingMock()"]
  2373fead_7dbc_efa1_871c_2e08f6c27649["ok()"]
  778564c0_b5cf_e533_b7d9_4727759dd00a -->|calls| 2373fead_7dbc_efa1_871c_2e08f6c27649
  style 778564c0_b5cf_e533_b7d9_4727759dd00a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/app/api/graphql/tests/searchDocs.test.ts lines 9–9

  .mockImplementation(async () => Result.ok({ embedding: [0.1, 0.2, 0.3], tokenCount: 10 }))

Subdomains

Calls

Frequently Asked Questions

What does contentEmbeddingMock() do?
contentEmbeddingMock() is a function in the supabase codebase.
What does contentEmbeddingMock() call?
contentEmbeddingMock() calls 1 function(s): ok.

Analyze Your Own Codebase

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

Try Supermodel Free