Iván Ovejero
|
e7fa0ae883
|
test(core): Skip SMTP tests if service unavailable (#3293)
|
2022-05-20 21:28:05 +02:00 |
|
Iván Ovejero
|
5e2589e626
|
refactor: Remove reintroduced non-null assertions in Db calls (#3162)
* 🔥 Remove reintroduced non-null assertions
* 🔥 Remove duplicate cred references
* 🔥 Remove unneeded `@ts-ignore`
* 🔥 Remove another `@ts-ignore`
* 🔥 Remove outdated suite version
* 🔥 Remove leftover non-null assertion
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
* 🔥 Remove more leftovers
* 🔥 Remove unneeded optional chaining operators
Co-authored-by: Ben Hesseldieck <1849459+BHesseldieck@users.noreply.github.com>
|
2022-04-28 18:39:57 +02:00 |
|
Iván Ovejero
|
bc5749b7ae
|
test(core): Implement timeout in SMTP tests (#3152)
* ⚡ Implement timeout in SMTP tests
* 🚚 Move timeout to constants
|
2022-04-22 12:38:53 +02:00 |
|
Ben Hesseldieck
|
8532b0030d
|
fix(core): Make email for UM case insensitive (#3078)
* 🚧 lowercasing email
* ✅ add tests for case insensitive email
* 🐘 add migration to lowercase email
* 🚚 rename migration
* 🐛 fix package.lock
* 🐛 fix double import
* 📋 add todo
|
2022-04-15 08:11:35 +02:00 |
|
Iván Ovejero
|
027dfb2f0a
|
⚡ Enable esModuleInterop compiler option and upgrade to TypeScript 4.6 (#3106)
* ⚡ Enable `esModuleInterop` for /core
* ⚡ Adjust imports in /core
* ⚡ Enable `esModuleInterop` for /cli
* ⚡ Adjust imports in /cli
* ⚡ Enable `esModuleInterop` for /nodes-base
* ⚡ Adjust imports in /nodes-base
* ⚡ Make imports consistent
* ⬆️ Upgrade TypeScript to 4.6 (#3109)
* ⬆️ Upgrade TypeScript to 4.6
* 📦 Update package-lock.json
* 🔧 Avoid erroring on untyped errors
* 📘 Fix type error
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
|
2022-04-08 23:32:08 +02:00 |
|
Iván Ovejero
|
1e2d6daaa3
|
🚨 Optimize UM tests (#3066)
* ⚡ Declutter test logs
* 🐛 Fix random passwords length
* 🐛 Fix password hashing in test user creation
* 🐛 Hash leftover password
* ⚡ Improve error message for `compare`
* ⚡ Restore `randomInvalidPassword` contant
* ⚡ Mock Telemetry module to prevent `--forceExit`
* 🔥 Remove unused imports
* 🔥 Remove unused import
* ⚡ Add util for configuring test SMTP
* ⚡ Isolate user creation
* 🔥 De-duplicate `createFullUser`
* ⚡ Centralize hashing
* 🔥 Remove superfluous arg
* 🔥 Remove outdated comment
* ⚡ Prioritize shared tables during trucation
* 🧪 Add login tests
* ⚡ Use token helper
* ✏️ Improve naming
* ⚡ Make `createMemberShell` consistent
* 🔥 Remove unneeded helper
* 🔥 De-duplicate `beforeEach`
* ✏️ Improve naming
* 🚚 Move `categorize` to utils
* ✏️ Update comment
* 🧪 Simplify test
* 📘 Improve `User.password` type
* ⚡ Silence logger
* ⚡ Simplify condition
* ⚡ Unhash password in payload
* 🐛 Fix comparison against unhashed password
* ⚡ Increase timeout for fake SMTP service
* 🔥 Remove unneeded import
* ⚡ Use `isNull()`
* 🧪 Use `Promise.all()` in creds tests
* 🧪 Use `Promise.all()` in me tests
* 🧪 Use `Promise.all()` in owner tests
* 🧪 Use `Promise.all()` in password tests
* 🧪 Use `Promise.all()` in users tests
* ⚡ Re-set cookie if UM disabled
* 🔥 Remove repeated line
* ⚡ Refactor out shared owner data
* 🔥 Remove unneeded import
* 🔥 Remove repeated lines
* ⚡ Organize imports
* ⚡ Reuse helper
* 🚚 Rename tests to match routers
* 🚚 Rename `createFullUser()` to `createUser()`
* ⚡ Consolidate user shell creation
* ⚡ Make hashing async
* ⚡ Add email to user shell
* ⚡ Optimize array building
* 🛠 refactor user shell factory
* 🐛 Fix MySQL tests
* ⚡ Silence logger in other DBs
Co-authored-by: Ben Hesseldieck <b.hesseldieck@gmail.com>
|
2022-04-08 18:37:07 +02:00 |
|