Skip to content

transaction object should have commit and rollback functions #7

@ricardoapuGL

Description

@ricardoapuGL

Hello!

While using the mock we encountered that Sequelize.transaction() it returns an empty object and so the test fails on t.commit()

https://github.com/Foyer-Inc/sequelize-mock/blob/97c54ea984787946888101d19ad536f3c31dccb6/src/sequelize.js#L391

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions