From e2ba5e5bb736c15a43d8d1ce8549375c4649e834 Mon Sep 17 00:00:00 2001 From: Jonathan Bobel Date: Thu, 13 Jul 2023 10:46:15 -0400 Subject: [PATCH] Commenting out this test --- tests/javascripts/templateFolderForm.test.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/javascripts/templateFolderForm.test.js b/tests/javascripts/templateFolderForm.test.js index 65806912f..6b7e1a376 100644 --- a/tests/javascripts/templateFolderForm.test.js +++ b/tests/javascripts/templateFolderForm.test.js @@ -543,9 +543,10 @@ describe('TemplateFolderForm', () => { // .recalculate should have been called so the sticky JS picks up the controls expect(GOVUK.stickAtBottomWhenScrolling.recalculate.mock.calls.length).toEqual(0); + // Removing sticky functionality // mode should have been set to 'default' as the controls only have one part - expect(GOVUK.stickAtBottomWhenScrolling.setMode.mock.calls.length).toEqual(1); - expect(GOVUK.stickAtBottomWhenScrolling.setMode.mock.calls[0][0]).toEqual('default'); + // expect(GOVUK.stickAtBottomWhenScrolling.setMode.mock.calls.length).toEqual(1); + // expect(GOVUK.stickAtBottomWhenScrolling.setMode.mock.calls[0][0]).toEqual('default'); });