diff --git a/tests/javascripts/templateFolderForm.test.js b/tests/javascripts/templateFolderForm.test.js index 6b7e1a376..1c93bfe9a 100644 --- a/tests/javascripts/templateFolderForm.test.js +++ b/tests/javascripts/templateFolderForm.test.js @@ -546,7 +546,7 @@ describe('TemplateFolderForm', () => { // 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[0] [0]).toEqual('default'); });