mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Revert change of faker import
This commit is contained in:
parent
47b88ffb46
commit
c0a61600e4
@ -1,5 +1,5 @@
|
||||
import { v4 as uuid } from 'uuid'
|
||||
import { faker } from '@faker-js/faker'
|
||||
import faker from 'faker'
|
||||
import slugify from 'slug'
|
||||
import { hashSync } from 'bcryptjs'
|
||||
import { Factory } from 'rosie'
|
||||
@ -47,6 +47,7 @@ Factory.define('badge')
|
||||
return neode.create('Badge', buildObject)
|
||||
})
|
||||
|
||||
console.log(faker)
|
||||
Factory.define('image')
|
||||
.attr('url', faker.image.unsplash.imageUrl)
|
||||
.attr('aspectRatio', 1.3333333333333333)
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import { faker } from '@faker-js/faker'
|
||||
import faker from 'faker'
|
||||
import sample from 'lodash/sample'
|
||||
import { createTestClient } from 'apollo-server-testing'
|
||||
import createServer from '../server'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user