MCPcopy Create free account
hub / github.com/auth0/auth0-cli / TestDetectProject_NextJS_ConfigTS

Function TestDetectProject_NextJS_ConfigTS

internal/cli/quickstart_detect_test.go:231–239  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

229}
230
231func TestDetectProject_NextJS_ConfigTS(t *testing.T) {
232 dir := t.TempDir()
233 writeTestFile(t, dir, "next.config.ts", "")
234
235 got := DetectProject(dir)
236 assert.True(t, got.Detected)
237 assert.Equal(t, "nextjs", got.Framework)
238 assert.Equal(t, "regular", got.Type)
239}
240
241func TestDetectProject_NextJS_ConfigMJS(t *testing.T) {
242 dir := t.TempDir()

Callers

nothing calls this directly

Calls 2

writeTestFileFunction · 0.85
DetectProjectFunction · 0.85

Tested by

no test coverage detected