aboutsummaryrefslogtreecommitdiff
path: root/js/tests/README.md
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2020-05-13 22:33:49 -0700
committerXhmikosR <[email protected]>2020-05-18 16:28:22 +0300
commitd2f07ec9e1672651d01cf6471f19450d49613c76 (patch)
treea8b3249289837a5e490d4c737a2bbdad32b8a25b /js/tests/README.md
parent897d2f3877ebde814a01a83bcc2633d99069a610 (diff)
downloadbootstrap-d2f07ec9e1672651d01cf6471f19450d49613c76.tar.xz
bootstrap-d2f07ec9e1672651d01cf6471f19450d49613c76.zip
Fix some easy Markdown linting issues
- Always use dashes for bullets - Add some basic alt text for our readme OC sponsors
Diffstat (limited to 'js/tests/README.md')
-rw-r--r--js/tests/README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/js/tests/README.md b/js/tests/README.md
index 41fddb9a3..1e2b5d868 100644
--- a/js/tests/README.md
+++ b/js/tests/README.md
@@ -2,7 +2,7 @@
Bootstrap uses [Jasmine](https://jasmine.github.io/). Each plugin has a file dedicated to its tests in `tests/unit/<plugin-name>.spec.js`.
-* `visual/` contains "visual" tests which are run interactively in real browsers and require manual verification by humans.
+- `visual/` contains "visual" tests which are run interactively in real browsers and require manual verification by humans.
To run the unit test suite via [Karma](https://karma-runner.github.io/), run `npm run js-test`.
To run the unit test suite via [Karma](https://karma-runner.github.io/) and debug, run `npm run js-debug`.
@@ -18,11 +18,11 @@ To run the unit test suite via [Karma](https://karma-runner.github.io/) and debu
## What should a unit test look like?
-* Each test should have a unique name clearly stating what unit is being tested.
-* Each test should be in the corresponding `describe`.
-* Each test should test only one unit per test, although one test can include several assertions. Create multiple tests for multiple units of functionality.
-* Each test should use [`expect`](https://jasmine.github.io/api/edge/matchers.html) to ensure something is expected.
-* Each test should follow the project's [JavaScript Code Guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#js)
+- Each test should have a unique name clearly stating what unit is being tested.
+- Each test should be in the corresponding `describe`.
+- Each test should test only one unit per test, although one test can include several assertions. Create multiple tests for multiple units of functionality.
+- Each test should use [`expect`](https://jasmine.github.io/api/edge/matchers.html) to ensure something is expected.
+- Each test should follow the project's [JavaScript Code Guidelines](https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#js)
## Code coverage