mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-04 09:54:14 +00:00
feat(db): generated entities declare their repository type; test casts dropped
This commit is contained in:
@@ -34,8 +34,8 @@ let users: UsersRepository;
|
||||
|
||||
beforeAll(async () => {
|
||||
t = await createTestOrm(testDb);
|
||||
appSettings = t.repo(AppSettings) as AppSettingsRepository;
|
||||
users = t.repo(Users) as UsersRepository;
|
||||
appSettings = t.repo(AppSettings);
|
||||
users = t.repo(Users);
|
||||
});
|
||||
|
||||
beforeEach(() => {
|
||||
|
||||
Reference in New Issue
Block a user