• Stan Hu's avatar
    Reduce intermittent spec failures by making VueJS resource interceptor · 924141fb
    Stan Hu authored
    decrement outstanding resource counts when HTTP response is received
    
    Before the count would be reduced 500 ms after a DOM update tick, which could
    cause race conditions since the `DatabaseCleaner` could run in the middle of
    a Rails controller handling the response.
    
    Partial fix to #21197 and other intermittent spec failures.
    924141fb
vue_resource_interceptor.js.es6 190 Bytes