Giter Site home page Giter Site logo

Comments (10)

mmarkell avatar mmarkell commented on July 26, 2024 3

I "fixed" the issue by putting the source code directly into my repo, so the version of typeorm is the same between the typeorm-transactional-tests code and my own code

from typeorm-transactional-tests.

ewenw avatar ewenw commented on July 26, 2024 1

I went with this other library: https://github.com/entrostat/typeorm-test-transactions

Does this library work for you? For some reason, it's still not rolling back for me.

from typeorm-transactional-tests.

highflying avatar highflying commented on July 26, 2024

Same here, everything is getting committed and not rolled back.

from typeorm-transactional-tests.

ewenw avatar ewenw commented on July 26, 2024

Same issue. Anyone able to resolve this?

from typeorm-transactional-tests.

mmarkell avatar mmarkell commented on July 26, 2024

Same issue for me as well

from typeorm-transactional-tests.

dan-klasson avatar dan-klasson commented on July 26, 2024

I went with this other library: https://github.com/entrostat/typeorm-test-transactions

from typeorm-transactional-tests.

dan-klasson avatar dan-klasson commented on July 26, 2024

@ewenw Yes. Make sure you wrap your test functions with runInTransaction

from typeorm-transactional-tests.

ewenw avatar ewenw commented on July 26, 2024

I did do that. Which typeOrm version are you running? Thanks for the help!

from typeorm-transactional-tests.

dan-klasson avatar dan-klasson commented on July 26, 2024

@ewenw 6.2.0. Ask on that issue tracker and tag me if you need help.

from typeorm-transactional-tests.

omerd-cyera avatar omerd-cyera commented on July 26, 2024

I "fixed" the issue by putting the source code directly into my repo, so the version of typeorm is the same between the typeorm-transactional-tests code and my own code

If this is the case, make sure you are using the same version of typeorm as the library. or force dependency hoisting. I don't think its an issue with this library isn't it?

from typeorm-transactional-tests.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.