stable

Clone or download

Read-only

request #14922 Increase unit-test coverage for TLP

No functional change expected. Dropdowns and modals should still close when pressing the "Escape" key in IE11. Change-Id: I8e97e643fa4add6c7f08ac07a80a93b35ec7b7ec

Modified Files

Name
A src/themes/tlp/jest.config.js +25 −0 Go to diff View file
M src/themes/tlp/mocks/tlp-fetch-mock-helper.d.ts +2 −2 Go to diff View file
M src/themes/tlp/mocks/tlp-fetch-mock-helper.js +1 −0 Go to diff View file
M src/themes/tlp/package.json +7 −1 Go to diff View file
M src/themes/tlp/src/js/dropdowns.d.ts +1 −1 Go to diff View file
M src/themes/tlp/src/js/dropdowns.js +6 −5 Go to diff View file
A src/themes/tlp/src/js/dropdowns.test.ts +270 −0 Go to diff View file
M src/themes/tlp/src/js/fetch-wrapper.d.ts +5 −2 Go to diff View file
R src/themes/tlp/src/js/fetch-wrapper.test.js Go to diff View file
M src/themes/tlp/src/js/index.js +3 −3 Go to diff View file
M src/themes/tlp/src/js/modal.js +10 −5 Go to diff View file
A src/themes/tlp/src/js/modal.test.ts +295 −0 Go to diff View file
M src/themes/tlp/src/js/popovers.d.ts +1 −1 Go to diff View file
M src/themes/tlp/src/js/popovers.js +1 −1 Go to diff View file
A src/themes/tlp/src/js/popovers.test.ts +284 −0 Go to diff View file
M tests/jest/jest.projects.config.js +5 −1 Go to diff View file