Auth0 qs setup --app --type spa --framework vue --build-tool vite.
(t *testing.T)
| 119 | |
| 120 | // Auth0 qs setup --app --type spa --framework vue --build-tool vite. |
| 121 | func TestDetectProject_Vue(t *testing.T) { |
| 122 | dir := t.TempDir() |
| 123 | writeTestFile(t, dir, "vite.config.js", "") |
| 124 | writeTestFile(t, dir, "package.json", `{"dependencies":{"vue":"^3"}}`) |
| 125 | |
| 126 | got := DetectProject(dir) |
| 127 | assert.True(t, got.Detected) |
| 128 | assert.Equal(t, "vue", got.Framework) |
| 129 | assert.Equal(t, "spa", got.Type) |
| 130 | assert.Equal(t, "vite", got.BuildTool) |
| 131 | } |
| 132 | |
| 133 | // Auth0 qs setup --app --type spa --framework svelte --build-tool vite. |
| 134 | func TestDetectProject_Svelte(t *testing.T) { |
nothing calls this directly
no test coverage detected