Fix bug in the stats-tracker-frame-mising behavior

This commit is contained in:
Michael Lange
2019-03-14 00:03:30 -07:00
parent bebc9b8f11
commit 1e669bb56b

View File

@@ -23,7 +23,7 @@ export default function statsTrackerFrameMissing({
let shouldFail = false;
const fetch = () => {
return resolve(shouldFail ? { ok: false } : new MockResponse(frame));
return resolve(shouldFail ? { ok: false } : MockResponse(frame));
};
const resource = ResourceConstructor();