MCPcopy
hub / github.com/remix-run/react-router / createFixture

Function createFixture

integration/vite-prerender-test.ts:16–23  ·  view source on GitHub ↗
(...args: Parameters<typeof _createFixture>)

Source from the content-addressed store, hash-verified

14import { build, createProject, reactRouterConfig } from "./helpers/vite.js";
15
16let createFixture = (...args: Parameters<typeof _createFixture>) =>
17 _createFixture(
18 {
19 templateName: args[0].templateName ?? "vite-7-template",
20 ...args[0],
21 },
22 args[1],
23 );
24
25let files = {
26 "react-router.config.ts": reactRouterConfig({

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…