factory-girl icon indicating copy to clipboard operation
factory-girl copied to clipboard

A factory library for node.js and the browser inspired by factory_girl

Results 31 factory-girl issues
Sort by recently updated
recently updated
newest added

Dear wonderful library author and maintainers, As I understand, these 2 methods in _Factory.js_ file: **afterBuild** and **afterCreate** are called with the following params: model, modelAttrs, modelBuildOptions. But when using...

I'm using Dynamoose with factory-girl. In one of my test cases, I'm using the following > factory.createMany('xxxxxxx', 10).then((xxxxx) => {}); which is creating 10 records in my test db, however,...

I currently have a user table, a role table, and the relationship between users and roles is many-to-many, so there is a middle table of user_role. How to configure it...

lack of support of dynamic refs results in populate with a null value

Hi! Love the `factory-bot` Ruby gem, and recently discovered this package when working on a new Node project. I'm trying to get my first factory set up and am encountering...

Hi, I have a factory that defines a property like this: `duration: Factory.sequence(function(n) { return n }),` I create multiple sets of objects ``` await factory.createManyAsync('object', 200 ) await factory.createManyAsync('object',...

Hi factory.assoc is not taking attributes from factory.create. I am getting this problem after updating my factory-girl package. Can you please help me on this ?

Most definitely not backwards compatible.