From 1bf160e6fe3f652306cd3131221f0153723be505 Mon Sep 17 00:00:00 2001 From: arbulu89 Date: Tue, 6 Aug 2024 09:09:16 +0200 Subject: [PATCH] Correct typo and remove test debug --- assets/jest.config.js | 2 +- assets/js/pages/Users/UserForm.test.jsx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/assets/jest.config.js b/assets/jest.config.js index 5ac6a96022..636d692185 100644 --- a/assets/jest.config.js +++ b/assets/jest.config.js @@ -67,7 +67,7 @@ module.exports = { config: { checksServiceBaseUrl: '', suseManagerEnabled: true, - adminUsernam: 'admin', + adminUsername: 'admin', oidcEnabled: false, aTestVariable: 123, }, diff --git a/assets/js/pages/Users/UserForm.test.jsx b/assets/js/pages/Users/UserForm.test.jsx index 70ba23bf40..abdca6a9e2 100644 --- a/assets/js/pages/Users/UserForm.test.jsx +++ b/assets/js/pages/Users/UserForm.test.jsx @@ -422,8 +422,6 @@ describe('UserForm', () => { await user.click(screen.getByRole('button', { name: 'Save' })); - screen.debug(undefined, 100000); - expect(mockOnSave).toHaveBeenNthCalledWith(1, { enabled: true, abilities: abilities.slice(0, 2),