From d51259438218b0f52c8b364c9b18aa2b66f103c3 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Wed, 5 Aug 2020 18:03:48 +0000 Subject: [PATCH] node fixtures: Use more realistic data for hotspots. The only thing the dispatch tests really test here is that we copy the data verbatim from the event into page_params. --- frontend_tests/node_tests/lib/events.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/frontend_tests/node_tests/lib/events.js b/frontend_tests/node_tests/lib/events.js index 8639737b8a..2dbdd72781 100644 --- a/frontend_tests/node_tests/lib/events.js +++ b/frontend_tests/node_tests/lib/events.js @@ -117,7 +117,20 @@ exports.fixtures = { hotspots: { type: "hotspots", - hotspots: ["nice", "chicken"], + hotspots: [ + { + name: "topics", + title: "About topics", + description: "Topics are good.", + delay: 1.5, + }, + { + name: "compose", + title: "Compose box", + description: "This is where you compose messages.", + delay: 3.14159, + }, + ], }, invites_changed: {