aboutsummaryrefslogtreecommitdiff
path: root/js/tests/README.md
AgeCommit message (Collapse)AuthorFilesLines
2022-01-30tests: replace 'done' callback with 'Promise' to fix deprecation errors (#35659)GeoSot1-13/+15
Reference: https://jasmine.github.io/tutorials/async 'DEPRECATION: An asynchronous function called its 'done' callback more than once. This is a bug in the spec, beforeAll, beforeEach, afterAll, or afterEach function in question. This will be treated as an error in a future version. See<https://jasmine.github.io/tutorials/upgrading_to_Jasmine_4.0#deprecations-due-to-calling-done-multiple-times> for more information.
2021-12-01tests: tweak Jasmine's matchers usageXhmikosR1-1/+1
Use: * toBeNull * toEqual * toBeTrue * toBeFalse * toHaveSize * toHaveClass
2021-05-11Remove potential false positive assertions (#33288)Ben Lertlumprasertkul1-1/+1
* Remove potential false positive assertions querySelector() returns null but expect(document.querySelector('...')).toBeDefined() tests that the value is not undefined * Migrated assertions from .toBeDefined() to .not.toBeNull() for .getInstance() calls in tests * Migrate offcanvas assertions from .toBeDefined() to .not.toBeNull() for .getInstance() call * convert more cases to not.toBeNull assertions Co-authored-by: XhmikosR <[email protected]>
2020-06-16Rename "master" to "main". (#31050)XhmikosR1-1/+1
2020-06-16Fix a broken link and a redirect. (#31045)XhmikosR1-1/+1
2020-05-18Fix some easy Markdown linting issuesMark Otto1-6/+6
- Always use dashes for bullets - Add some basic alt text for our readme OC sponsors
2020-05-06tests: streamline HTML end tags (#30648)XhmikosR1-1/+1
2019-10-09Rename "js/tests/units" to "js/tests/unit". (#29503)XhmikosR1-2/+2
2019-10-03return to the original file structure to avoid breaking modularityJohann-S1-3/+3
2019-07-29remove underscore for static methodsJohann-S1-3/+3
2019-07-23Switch from QUnit to Jasmine.Johann-S1-37/+39
2018-09-14Use https in more places and fix a few redirects.XhmikosR1-1/+1
2018-04-02Use https when possible.XhmikosR1-1/+1
2018-03-13Add Sinon to do better unit testJohann-S1-5/+9
2018-03-06Add a bit of documentation on how to run the code coverage (#25783)Johann-S1-5/+9
2017-11-29Update README.md (#24912)Johann-S1-1/+1
2017-10-07Update js/tests/README.md (#24281)Vasilii Artemchuk1-4/+4
2017-04-21More minor build tweaks and docs updates.Bardi Harborow1-2/+2
2016-10-03Fix broken/redirected links, moving to HTTPS where possible. (#20557)Bardi Harborow1-3/+3
2015-03-06[Fixes #15951] Document JS test suite basicsKevin Kirsche1-0/+61
X-Ref: #15953 Closes #15952 by merging a tweaked version of it. [skip sauce] [skip validator]