1 changed files with 18 additions and 0 deletions
@ -0,0 +1,18 @@ |
|||
import ScoreRepo from "../src/realm/repos/ScoreRepo"; |
|||
import SystemRepo from "../src/realm/repos/SystemRepo"; |
|||
import UserRepo from "../src/realm/repos/UserRepo"; |
|||
|
|||
test('ScoreRepo inits', () => { |
|||
let testRepo = new ScoreRepo({fakeRealm: true}); |
|||
expect(testRepo.realmDB.fakeRealm).toEqual(true); |
|||
}) |
|||
|
|||
test('SystemRepo inits', () => { |
|||
let testRepo = new SystemRepo({fakeRealm: true}); |
|||
expect(testRepo.realmDB.fakeRealm).toEqual(true); |
|||
}) |
|||
|
|||
test('UserRepo inits', () => { |
|||
let testRepo = new UserRepo({fakeRealm: true}); |
|||
expect(testRepo.realmDB.fakeRealm).toEqual(true); |
|||
}) |
Loading…
Reference in new issue