Can we invert this to:

```js
if ( !testActive || details.result ) {
    return;
}

// actual logic here
```