(t *testing.T)
| 67 | } |
| 68 | |
| 69 | func TestComputeEnv(t *testing.T) { |
| 70 | d := devboxForTesting(t) |
| 71 | d.nix = &testNix{} |
| 72 | ctx := t.Context() |
| 73 | env, err := d.computeEnv(ctx, false /*use cache*/, devopt.EnvOptions{}) |
| 74 | require.NoError(t, err, "computeEnv should not fail") |
| 75 | assert.NotNil(t, env, "computeEnv should return a valid env") |
| 76 | } |
| 77 | |
| 78 | func TestComputeDevboxPathIsIdempotent(t *testing.T) { |
| 79 | devbox := devboxForTesting(t) |
nothing calls this directly
no test coverage detected