clean up
This commit is contained in:
parent
8b36beb9bf
commit
79f0ee2863
@ -36,8 +36,8 @@ describe('paginate', () => {
|
|||||||
catToyRepo = connection.getRepository(CatToyEntity)
|
catToyRepo = connection.getRepository(CatToyEntity)
|
||||||
catHomeRepo = connection.getRepository(CatHomeEntity)
|
catHomeRepo = connection.getRepository(CatHomeEntity)
|
||||||
cats = await catRepo.save([
|
cats = await catRepo.save([
|
||||||
catRepo.create({ name: 'Milo', color: 'brown', age: 6, createdAt: '2022-01-01' }),
|
catRepo.create({ name: 'Milo', color: 'brown', age: 6 }),
|
||||||
catRepo.create({ name: 'Garfield', color: 'ginger', age: 5, createdAt: '2022-01-02' }),
|
catRepo.create({ name: 'Garfield', color: 'ginger', age: 5 }),
|
||||||
catRepo.create({ name: 'Shadow', color: 'black', age: 4 }),
|
catRepo.create({ name: 'Shadow', color: 'black', age: 4 }),
|
||||||
catRepo.create({ name: 'George', color: 'white', age: 3 }),
|
catRepo.create({ name: 'George', color: 'white', age: 3 }),
|
||||||
catRepo.create({ name: 'Leche', color: 'white', age: null }),
|
catRepo.create({ name: 'Leche', color: 'white', age: null }),
|
||||||
|
Loading…
Reference in New Issue
Block a user