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

Function TestDetectProject_Angular

internal/cli/quickstart_detect_test.go:109–118  ·  view source on GitHub ↗

Auth0 qs setup --app --type spa --framework angular.

(t *testing.T)

Source from the content-addressed store, hash-verified

107
108// Auth0 qs setup --app --type spa --framework angular.
109func TestDetectProject_Angular(t *testing.T) {
110 dir := t.TempDir()
111 writeTestFile(t, dir, "angular.json", `{}`)
112
113 got := DetectProject(dir)
114 assert.True(t, got.Detected)
115 assert.Equal(t, "angular", got.Framework)
116 assert.Equal(t, "spa", got.Type)
117 assert.Empty(t, got.BuildTool)
118}
119
120// Auth0 qs setup --app --type spa --framework vue --build-tool vite.
121func TestDetectProject_Vue(t *testing.T) {

Callers

nothing calls this directly

Calls 2

writeTestFileFunction · 0.85
DetectProjectFunction · 0.85

Tested by

no test coverage detected