mirror of
https://github.com/discourse/discourse.git
synced 2025-03-27 10:45:39 +08:00
fix js tests (#6343)
This commit is contained in:
parent
bb93179609
commit
ceae3d0a93
@ -1,3 +1,5 @@
|
|||||||
|
import { SCHEMA_VERSION } from "admin/models/report";
|
||||||
|
|
||||||
let signups = {
|
let signups = {
|
||||||
type: "signups",
|
type: "signups",
|
||||||
title: "Signups",
|
title: "Signups",
|
||||||
@ -155,7 +157,7 @@ const page_view_total_reqs = {
|
|||||||
dates_filtering: true,
|
dates_filtering: true,
|
||||||
report_key: `reports:page_view_total_reqs:${startDate.format(
|
report_key: `reports:page_view_total_reqs:${startDate.format(
|
||||||
"YYYYMMDD"
|
"YYYYMMDD"
|
||||||
)}:${endDate.format("YYYYMMDD")}:[:prev_period]:2`,
|
)}:${endDate.format("YYYYMMDD")}:[:prev_period]:${SCHEMA_VERSION}`,
|
||||||
labels: [
|
labels: [
|
||||||
{ type: "date", property: "x", title: "Day" },
|
{ type: "date", property: "x", title: "Day" },
|
||||||
{ type: "number", property: "y", title: "Count" }
|
{ type: "number", property: "y", title: "Count" }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user