Skip to content

Commit 2deca3b

Browse files
committed
Updating readme file with information about the unit tests
1 parent 8da9663 commit 2deca3b

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1138,12 +1138,19 @@ If you wish to contribute to mq-scss, it now comes with a testing environment. T
11381138
4. If you have never used gulp before, run `npm install gulp-cli -g`
11391139
5. Run `gulp --open`
11401140
1141-
I plan to eventually create proper automated unit tests. This is better than nothing though.
1141+
It also comes with a batch of 46 unit tests that are used to ensure that all of the functionality remains intact. To run the unit tests:
1142+
1143+
1. Run `gulp compile-tests` (refreshes the css files it tests against)
1144+
2. Run `npm test`
11421145
11431146
## Change log
11441147
11451148
This change log only covers major changes to the mixin. Due to how npm works, things like edits to the readme file require releasing whole new versions of the module to publish the edits. Those sorts of releases are not listed here.
11461149
1150+
### v2.1.2
1151+
1152+
- Added automated unit-tests
1153+
11471154
### v2.1.0
11481155
11491156
- Added the ability to debug mq statements by setting either the local `$debug` setting or the global `$mq-debug` setting to `true`.

0 commit comments

Comments
 (0)