Max Leiter
cb0c6222cf
Work on LDAP tests
2022-05-31 22:37:16 -07:00
Max Leiter
ba3c616bb8
bump eslint, fix tsconfig helper issue
2022-05-31 18:37:02 -07:00
Max Leiter
03eadf0288
Add separate yarn lint command
2022-05-31 15:21:16 -07:00
Max Leiter
8f27e03b40
Fix sqlite tests?
2022-05-31 15:06:45 -07:00
Max Leiter
db5eae414c
Fix user test
2022-05-31 14:52:53 -07:00
Max Leiter
ade6269de9
Add more socketio types
2022-05-31 14:47:55 -07:00
Max Leiter
4f41d80b88
Replace as string with String constructor
2022-05-31 14:47:54 -07:00
Max Leiter
c682550e1f
Fix UserConfig type in clientManager
2022-05-31 14:00:59 -07:00
Max Leiter
3d4d29bca4
linting
2022-05-31 13:56:33 -07:00
Max Leiter
96aa50c673
Fix types in client/keybinds
2022-05-31 13:48:29 -07:00
Max Leiter
afba008363
Fix package commands by adding .argument() call
2022-05-31 13:44:54 -07:00
Max Leiter
21b52a99a0
linting
2022-05-31 12:54:21 -07:00
Max Leiter
cff9209a25
fix joining channels from net form(?), major progress in tests
2022-05-31 12:46:55 -07:00
Max Leiter
b8e04add38
Fix mention loading, progresson mocha
2022-05-30 22:11:28 -07:00
Max Leiter
4c98b81e35
some test fixes
2022-05-21 11:56:03 -07:00
Max Leiter
3de58c53b4
[ts-migrate][test] Init tsconfig.json file
...
Co-authored-by: ts-migrate <>
2022-05-21 11:49:33 -07:00
Max Leiter
bdf0fcdbcb
client, some tests, eslint
2022-05-21 11:49:33 -07:00
Max Leiter
f4be90813d
[ts-migrate][test] Rename files from JS/JSX to TS/TSX
...
Co-authored-by: ts-migrate <>
2022-05-21 11:49:32 -07:00
Reto
d4cc2dd361
Refactor config out of Helper ( #4558 )
...
* Remove config from Helper
Helper is the usual util grab bag of useful stuff.
Somehow the config ended up there historically but
structurally that doesn't make any sense.
* Add cert folder to prettier ignore file
2022-05-01 12:12:39 -07:00
Val Lorentz
bd2a6cc5be
test/models/network.js: Add a simple test for STS policies
2022-02-13 14:42:01 +01:00
Mateusz Hajder
af236dd280
Add the default IRC network for tests
2021-05-26 13:41:33 +02:00
Pavel Djundik
f8f692af05
Generate client certificates and automatically do SASL EXTERNAL
2020-04-15 10:56:04 +03:00
MiniDigger
6f8364b1dd
Print package versions on startup
2019-11-06 18:02:28 +01:00
Alistair McKinlay
ab8d819193
Set up Prettier on md, html, json, and yaml
2019-07-17 10:22:30 +01:00
Pavel Djundik
472d618033
Remove log
from global
2018-06-15 23:31:06 +03:00
Pavel Djundik
941849eaa8
Add message indexing
2018-03-08 20:23:29 +02:00
Pavel Djundik
51684f7a2a
Switch default home location to ~/.thelounge
and remove support of .lounge_home
2018-02-19 20:43:53 +02:00
Pavel Djundik
a3e448acf5
Enable no-var rule
...
Fixes #1961
2018-02-19 19:49:39 +02:00
Jérémie Astori
2c570fa9ef
Load packages from package.json, fix loading thelounge metadata from the wrong file, add tests
2018-02-13 01:06:31 -05:00
Jérémie Astori
c2243ed7b4
Remove dead code in tests, and fix a link test
...
I used `npm run coverage` while *not* excluding the test folder to detect dead code in our test folder, it is actually pretty useful to do so (as a one-shot, not to do that in our config).
Only remaining unreached path is L40 in `test/plugins/auth/ldap.js`, but it does seem to me that it might be useful in case of failures, so I preferred to leave it there.
2017-12-09 18:56:05 -05:00
Pavel Djundik
7c9eedb820
Add hardcoded vapid key and a test for it
...
Hopefully fixes #1569
2017-09-25 11:46:15 +03:00
Jérémie Astori
b8399471b3
Enable ESLint no-console
rule to avoid future mistakes
2017-09-17 21:50:21 -04:00
Jérémie Astori
cdbefd3905
Make The Lounge private mode by default
2017-08-23 13:21:14 -04:00
Pavel Djundik
45d974a0c3
Ignore vapid.json generated during tests
2017-08-23 12:36:35 +03:00
Pavel Djundik
f65a5a8c89
Add web server tests
2016-12-28 03:31:33 -05: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
d6f2def825
Do not override HOME env in tests
2016-05-15 17:02:53 -04:00
Maxime Poulin
164b983f99
Always run all tests and test them each individually on travis
2016-05-08 02:24:10 -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
181b78a02f
test: add fixtures directory
2015-10-02 14:44:39 +02:00