Commit graph

279 commits

Author SHA1 Message Date
Pavel Djundik 708788338c Add support for hexip ilines 2016-11-19 20:32:47 +02:00
Pavel Djundik c5e0dee3a3 Change bcrypt rounds from 8 to 11 2016-10-22 09:24:27 +03:00
Jérémie Astori 1ff011dfaf Add a simple (first) test for localetime Handlebars helper 2016-10-20 01:49:34 +02:00
Jérémie Astori 04f23704b8 Merge pull request #679 from thelounge/xpaw/fix-mode-command
Fix /mode command to correctly assume target
2016-10-17 15:30:02 -04:00
Jérémie Astori 089c315a8e Use forEach instead of lodash's each, and ES6 fat arrows like it's 2015 2016-10-15 15:58:48 -04:00
Pavel Djundik 93053d497d Add mode command test suite 2016-10-15 14:23:39 +03:00
Pavel Djundik 3711aefc2d Merge pull request #664 from thelounge/xpaw/fix-defaults
Fix memory and reference shuffling when creating models
2016-10-15 14:14:53 +03:00
Pavel Djundik aa02fd5180 Enforce more eslint rules 2016-10-09 17:55:37 -04:00
Jérémie Astori caa46042bf Enforce strict mode across all JS files with ESLint
Several ES6 additions are only available in strict mode. Example:
> SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode

Strict mode was also enabled in a few of our files already, and it is a good thing to have anyway.
2016-10-09 15:14:02 -04:00
Pavel Djundik 8f3f1ca0b1 Fix memory and reference shuffling when creating models 2016-10-08 21:49:31 +03:00
Pavel Djundik 2e82c6b5c6 Make use of multi-prefix cap and remove NAMES spam on mode changes 2016-10-08 20:30:25 +03:00
Pavel Djundik e445fd8e25 Store channels in array format 2016-07-03 21:58:31 +03:00
Pavel Djundik d6f2def825 Do not override HOME env in tests 2016-05-15 17:02:53 -04:00
Pavel Djundik 8a7d1e880b Add nick highlight tests 2016-05-12 15:55:36 +03:00
Pavel Djundik 9543fe060e Merge pull request #260 from maxpoulin64/mocha-lint
Improve tests execution
2016-05-09 11:29:11 +03:00
Maxime Poulin 164b983f99
Always run all tests and test them each individually on travis 2016-05-08 02:24:10 -04:00
Maxime Poulin 96d282e73c
Add WEBIRC support
Fixes #181
2016-05-02 00:45:19 -04:00
Pavel Djundik e75a8f40a6 Stricter eslint rule for curly brackets 2016-05-01 12:41:17 +03:00
Pavel Djundik 2f1eec32b3 Create real channel object in tests 2016-04-19 13:24:57 +03:00
Pavel Djundik 4a7fc0544e Fix link test not using network model 2016-04-07 16:07:40 -04:00
Jérémie Astori 40677e3248 Update tests to match the new irc-framework models 2016-04-07 16:06:03 -04:00
Pavel Djundik db5fe00b60 A couple of fixes after rebasing and updating framework 2016-04-07 16:06:01 -04:00
Pavel Djundik 470b0a2c4f Fix test 2016-04-07 16:04:40 -04:00
Jérémie Astori f35b0df7e0 Add a very basic test for Network#export 2016-03-16 08:54:06 -04:00
Jérémie Astori 6495f1769e Add tests for the sortUsers method 2016-03-16 01:08:39 -04:00
Jérémie Astori 75040e07c6 Rename the fixture folder, forgotten while switching to new project name 2016-02-12 04:52:32 +00:00
William Boman 8fdfd70c7e Comply with ESLint 2015-10-26 03:01:47 +01:00
William Boman 181b78a02f test: add fixtures directory 2015-10-02 14:44:39 +02:00
Riku Rouvila a9026ac8a5 add basic environment for unit testing with mocha 2014-11-17 22:14:28 +02:00