MCPcopy
hub / github.com/triggerdotdev/trigger.dev / nextjs.test.ts

File nextjs.test.ts

packages/cli/src/frameworks/nextjs/nextjs.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import mock from "mock-fs";
2import { NextJs, detectPagesOrAppDir, detectUseOfSrcDir, detectNextVersion } from ".";
3import { getFramework } from "..";
4import { pathExists } from "../../utils/fileSystem";

Callers

nothing calls this directly

Calls 8

pathExistsFunction · 0.90
detectMiddlewareUsageFunction · 0.90
getFrameworkFunction · 0.85
detectNextVersionFunction · 0.85
detectUseOfSrcDirFunction · 0.85
detectPagesOrAppDirFunction · 0.85
installMethod · 0.65
restoreMethod · 0.45

Tested by

no test coverage detected