discourse/test/javascripts/fixtures/signups_timeout.js.es6
Joffrey JAFFEUX 2b2a506a7b
FIX: makes dashboard more resilient to errors (#6217)
This commit is an attempt to limit cases where the dashboard will generate a full exception page and also make it easier to track the error.
2018-07-31 21:23:28 -04:00

12 lines
322 B
JavaScript

import signups from "fixtures/signups";
const signupsTimeoutKey = "/admin/reports/signups_timeout";
const signupsKey = "/admin/reports/signups";
let fixture = {};
fixture[signupsTimeoutKey] = JSON.parse(JSON.stringify(signups[signupsKey]));
fixture[signupsTimeoutKey].report.error = "timeout";
export default fixture;