I would like to ask is it possible to use node pg adapter (postgree) with factorybot? Because it returns me error:
TypeError: factory.Client is not a constructor
when I try to connect factorybot to the adapter.
const factory = require('factory-bot').factory; const { Client } = require('pg'); const client = new FactoryBot.Client()
I would like to ask is it possible to use node pg adapter (postgree) with factorybot? Because it returns me error:
TypeError: factory.Client is not a constructor
when I try to connect factorybot to the adapter.
const factory = require('factory-bot').factory; const { Client } = require('pg'); const client = new FactoryBot.Client()