From 10fb9f9b359cf751088173c461a70d5ce950307e Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Fri, 14 Mar 2025 13:54:20 -0700 Subject: [PATCH] jest --- tests/javascripts/preventDuplicateFormSubmissions.test.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/javascripts/preventDuplicateFormSubmissions.test.js b/tests/javascripts/preventDuplicateFormSubmissions.test.js index 2a776ef0f..09c63187d 100644 --- a/tests/javascripts/preventDuplicateFormSubmissions.test.js +++ b/tests/javascripts/preventDuplicateFormSubmissions.test.js @@ -46,10 +46,8 @@ describe('Prevent duplicate form submissions', () => { test("It should prevent the second click on the 'submit' button", () => { helpers.triggerEvent(button, 'click'); - expect(button.disabled).toBe(true); helpers.triggerEvent(button, 'click'); - expect(button.disabled).toBe(true); }); test("It should allow clicks again after 1.5 seconds", () => {