f2fd019aa8
Remove unused IMPRESS_LOG_IN_AS feature
...
The latest version of Yarn's shell interpreter wasn't playing nice with
this undefined variable; okay! It's unused, let's just delete all
trace of it!
2024-01-28 06:36:09 -08:00
56e1ce595c
Fix misc lint errors
...
I ran `yarn eslint src`, and fixed everything I saw!
2021-05-03 15:06:07 -07:00
ec3aa1747d
Lint against console.log
...
and replace `console.log` instances in the codebase with better alternatives!
2021-05-03 15:01:49 -07:00
19482be2b8
Use ES module syntax in backend instead of require
...
Ok cool, so apparently another win we get from using `ts-node` is that I can finally easily use some non-native-Node features like ES module import syntax, for consistency with what I'm doing in the main app source! That was getting on my nerves tbh. Ooh I bet I can finally use `?.` too, I've had to rewrite that a bunch…
2021-02-02 22:26:55 -08:00
4a352e04e0
simulate login with IMPRESS_LOG_IN_AS flag
2021-01-05 23:22:03 -08:00
a49e66e359
fix bugs in auth mocking for tests
2020-10-27 22:16:34 -07:00
acdf6209ca
extract server auth into auth.js
...
This is just a nice cleanup, but it also supports a test mock I want to do next, to mock logins for the test db without having to round-trip to auth0.
2020-10-22 19:53:10 -07:00