From 7221cf9e0cf154ff60ff37f9745b9eaa1036ba57 Mon Sep 17 00:00:00 2001 From: dkmyta Date: Wed, 23 Oct 2024 09:45:59 -0700 Subject: [PATCH] Include stale fixer in main story --- .../components/threats-data-view/stories/index.stories.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/projects/js-packages/components/components/threats-data-view/stories/index.stories.tsx b/projects/js-packages/components/components/threats-data-view/stories/index.stories.tsx index ab6d6137d6b3c..ef738f23f8e98 100644 --- a/projects/js-packages/components/components/threats-data-view/stories/index.stories.tsx +++ b/projects/js-packages/components/components/threats-data-view/stories/index.stories.tsx @@ -120,7 +120,10 @@ Default.args = { file: '/var/www/html/wp-admin/index.php', extensionStatus: '', }, - fixer: null, + fixer: { + status: 'in_progress', + last_updated: new Date( '1999-09-09T19:19:19.000Z' ).toISOString(), + }, filename: '/var/www/html/wp-admin/index.php', diff: "--- /tmp/wordpress/6.6.2/wordpress/wp-admin/index.php\t2024-10-07 20:40:04.887546480 +0000\n+++ /var/www/html/wp-admin/index.php\t2024-10-07 20:39:58.775512965 +0000\n@@ -210,3 +210,4 @@\n wp_print_community_events_templates();\n \n require_once ABSPATH . 'wp-admin/admin-footer.php';\n+if ( true === false ) exit();\n\\ No newline at end of file\n", },