• Robert Knight's avatar
    Remove obsolete reference to `__hypothesis` global · 3315447b
    Robert Knight authored
    The `hasHypothesis` function always returned false because it relied on a global
    variable that no longer exists. The fact that it was broken didn't cause
    noticeable problems because the client's boot script also has a check for
    whether Hypothesis is already injected.
    
    Replace the broken check with a working one that corresponds to the nearby
    `injectHypothesis` function.
    3315447b
hypothesis-injector-test.js 6.71 KB