---
title: "Comment by Elias Soykat on \"Getting started with MongoDB transactions using Node.js\" | Hashnode"
description: "Hey Murewa Ashiru Can you share the above code test cases? it&#39;s definitely will helpful. I prefer mocha with chai.js. Why need the test cases. Because mongo"
url: "https://hashnode.com/posts/getting-started-with-mongodb-transactions-using-nodejs/619ed214f015481b2669c419/comment/6465f5347bd6d2e2dc871188"
---

[Discussion](https://hashnode.com/posts/getting-started-with-mongodb-transactions-using-nodejs/619ed214f015481b2669c419)

Comment [Getting started with MongoDB transactions using Node.js](https://hashnode.com/posts/getting-started-with-mongodb-transactions-using-nodejs/619ed214f015481b2669c419)

[Elias Soykat](https://hashnode.com/@elias-soykat)

[May 18, 2023](https://hashnode.com/posts/getting-started-with-mongodb-transactions-using-nodejs/619ed214f015481b2669c419/comment/6465f5347bd6d2e2dc871188)

Hey [Murewa Ashiru](https://hashnode.com/@murewaashiru)

Can you share the above code test cases? it's definitely will helpful. I prefer mocha with chai.js.

Why need the test cases. Because mongodb some time can't rollback when transaction failed. so it's really helpful for use.

[Murewa Ashiru](https://hashnode.com/@murewaashiru)

[May 22, 2023](https://hashnode.com/posts/getting-started-with-mongodb-transactions-using-nodejs/619ed214f015481b2669c419/comment/6465f5347bd6d2e2dc871188#reply-646bbe4de07e1d2187d942a4)

Hello [Elias Soykat](https://hashnode.com/@elias-soykat) I didn't write test cases for this implementation. I'd love to revisit it in my spare time but I'll probably need to do a refresher course in JS/Node (lol). I'm more into Java/Springboot recently.
