Commit graph

8 commits

Author SHA1 Message Date
Pavel Djundik
62d4cd8fe8 Use correct channel when pushing link prefetch messages
Fixes #781
2016-12-09 23:00:33 +02: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
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
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
William Boman
8fdfd70c7e Comply with ESLint 2015-10-26 03:01:47 +01:00
Riku Rouvila
a9026ac8a5 add basic environment for unit testing with mocha 2014-11-17 22:14:28 +02:00