Make ListViewDataSource test go quicker
This commit is contained in:
parent
c64524f985
commit
5f9f00e038
|
@ -20,7 +20,7 @@ function createRealm() {
|
||||||
let realm = new Realm({schema: [OBJECT_SCHEMA]});
|
let realm = new Realm({schema: [OBJECT_SCHEMA]});
|
||||||
|
|
||||||
realm.write(() => {
|
realm.write(() => {
|
||||||
for (let i = 0; i < 100; i++) {
|
for (let i = 0; i < 10; i++) {
|
||||||
realm.create('UniqueObject', {id: i});
|
realm.create('UniqueObject', {id: i});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue