Files
adyen-web/packages/lib
sponglord 952ae27819 Chore/v5 unit tests csf (#2472)
* Creating separate card-with-installments in Cards playground

* New unit test for validateForm

* Expanded test for validateForm

* setFocusOnFrame, improved types

* setFocusOnFrame unit test, first draft

* setFocusOnFrame unit test, final

* postMessageToIframe unit test

* processBrand unit test

* processAutoComplete unit test

* processAutoComplete unit test - removed logs

* postMessageToAllIframes unit test

* isConfigured unit test - final

* handleIframeConfigFeedback unit test

* handleFocus unit test

* handleOnBinValue unit test

* Don't bother testing console.log lines

* Removing this keyword from handleFocus function

* handleValidation unit test

* handleEncryption unit test - first draft

* handleEncryption unit test - final

* Added boolean onlyShowCard to easily turn of all other card examples in the Cards playground

* wireframe for handleBrandFromBinLookup.test.ts

* handleBrandFromBinLookup.test.ts - first draft

* handleBrandFromBinLookup.test.ts - final

* Expanded number of tests in initCSF.test.tsx

* createSecuredFields.test.tsx - first draft

* createSecuredFields.test.tsx - second draft

* createSecuredFields.test.tsx - final version

* createSecuredFields.test.tsx - testing that promise resolves

* createSecuredFields.test.tsx - testing that promise rejects

* Created createCardSecuredFields.test.ts to catch some edge cases in createSecuredFields functionality

* handleTab.test.ts - first draft

* handleTab.test.ts - final draft

* handleTab.test.ts - funnel tests through the expected entry point (handleSFShiftTab), to maximise coverage

* handleIOSTouchEvents.test.ts - first draft

* handleIOSTouchEvents.test.ts - second draft

* handleIOSTouchEvents.test.ts - cleaned up code

* handleIOSTouchEvents.test.ts - properly testing keypadFix scenario

* tidying up "partial" tests: cleaning up callbacks, using constants

* handleIOSTouchEvents.test.ts - adding final tests

* Removing some console.logs

* Cleaning up SecuredFields constants
2023-12-18 16:31:27 +01:00
..
2023-12-18 16:31:27 +01:00
2023-11-17 13:07:39 +01:00
2023-12-13 08:57:08 -03:00
2023-12-13 08:57:08 -03:00