discourse/test/javascripts/fixtures/signups_exception.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
332 B
JavaScript

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