Commit graph

1166 commits

Author SHA1 Message Date
greenkeeperio-bot
9852eb072b chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-28 06:30:24 +00:00
greenkeeperio-bot
845b4a240a chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-27 09:09:07 +00:00
greenkeeperio-bot
be8cf925d8 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-26 11:56:29 +00:00
Jérémie Astori
ecede860ef
Enable in-browser run of client testing
This gets us one step closer to cross-browser testing 🎉
2018-02-23 23:52:36 -05:00
Jérémie Astori
a9994656c3
Merge pull request #2112 from thelounge/greenkeeper/web-push-3.3.0
Update web-push to the latest version 🚀
2018-02-23 20:18:07 -05:00
Jérémie Astori
d798a0fe9b
Merge pull request #2105 from thelounge/greenkeeper/graphql-request-1.5.0
Update graphql-request to the latest version 🚀
2018-02-23 19:44:02 -05:00
Jérémie Astori
deac669532
Merge pull request #2097 from thelounge/greenkeeper/irc-framework-2.11.0
Update irc-framework to the latest version 🚀
2018-02-23 19:17:07 -05:00
greenkeeperio-bot
0610784632 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-23 21:04:23 +00:00
greenkeeperio-bot
827e37f3d4 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-23 19:45:24 +00:00
greenkeeperio-bot
f78333a544 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-23 14:52:01 +00:00
greenkeeperio-bot
b91248719a chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-22 14:43:12 +00:00
greenkeeperio-bot
a3a5ce9aa4 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-21 22:49:21 +00:00
greenkeeperio-bot
b9df9d6981 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-21 11:29:40 +00:00
greenkeeperio-bot
70a5fb99d4 chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
2018-02-20 23:26:23 +00:00
Jérémie Astori
9c4ea85041 Instrument client code before running tests
Despite being a bit gross to look at, this brings a few advantages:

- Tests are now closer to what actually runs, so more likely to find broken stuff.
- We can start using things that were so far Webpack-only or browser-only, like ES6 imports, loading Handlebars templates, etc.
- We open ourselves to browser testing (there is some work to do, but that would be a necessary step).
- We improve the client/server separation, by making it possible to run them independently

I do some extra steps around coverage: now we have 2 reports (client + server), so I have an extra step to combine them (the `nyc report` part). This is  strictly to keep feature parity (the coverage report of this code is effectively the same as before), but in the near future, we might want to keep both reports separate, for example to continue separating client/server. Another reason would be to use something like Codecov, which I believe has the ability to have multiple reports. This is down the road though, our coverage is not good enough to make hosting them somewhere be useful (I think).

A few extras with this commit:

- Coverage summary is displayed when tests are run (this is not slowing down tests)
- Tests check for leaks (see https://mochajs.org/#--check-leaks)
- Tests now output with the `dot` reporter. This is nice as `npm test` runs in parallel, the whole output holds in a few lines instead of spanning over multiple screens.
2018-02-20 15:32:30 +02:00
Pavel Djundik
f646fbbd4f Add yarn.lock, update CI services to run yarn 2018-02-20 11:28:14 +02:00