taniarascia / comments

Comments
7 stars 0 forks source link

integration-testing-with-jest-typescript-objection/ #96

Open utterances-bot opened 3 years ago

utterances-bot commented 3 years ago

Integration Tests with Jest, Supertest, Knex, and Objection in TypeScript | Tania Rascia

Recently, I set up unit and integration tests for a Node API in TypeScript, and I couldn't find a lot of resources for setting up and…

https://www.taniarascia.com/integration-testing-with-jest-typescript-objection/

SamuelOkoroShow commented 3 years ago

First time I'm learning about Knex and Objection. I use TypeScript with React Native at work an on my Online Course. Please do a tutorial on Hash AI.

AaronConlon commented 3 years ago

Cool.

tobiashe commented 2 years ago

Hey, very nice tutorial! But what about parallel test execution? (Jest does it by default) If we have more than one integration test, they can affect each other, when running simulaneously. Maybe, it's better to create random named database in beforeAll() in every test file?