(t *testing.T)
| 44 | } |
| 45 | |
| 46 | func TestRunJavascript_no_result(t *testing.T) { |
| 47 | t.Parallel() |
| 48 | tool := &codeModeTool{} |
| 49 | |
| 50 | result, err := tool.runJavascript(t.Context(), ``) |
| 51 | require.NoError(t, err) |
| 52 | |
| 53 | assert.Empty(t, result.Value) |
| 54 | assert.Empty(t, result.StdOut) |
| 55 | assert.Empty(t, result.StdErr) |
| 56 | } |
nothing calls this directly
no test coverage detected