nolint:paralleltest
(t *testing.T)
| 589 | |
| 590 | // nolint:paralleltest |
| 591 | func TestTelemetryInstallSource(t *testing.T) { |
| 592 | t.Setenv("CODER_TELEMETRY_INSTALL_SOURCE", "aws_marketplace") |
| 593 | ctx := testutil.Context(t, testutil.WaitMedium) |
| 594 | db, _ := dbtestutil.NewDB(t) |
| 595 | deployment, _ := collectSnapshot(ctx, t, db, nil) |
| 596 | require.Equal(t, "aws_marketplace", deployment.InstallSource) |
| 597 | } |
| 598 | |
| 599 | func TestTelemetryItem(t *testing.T) { |
| 600 | t.Parallel() |
nothing calls this directly
no test coverage detected