Closed VKong6019 closed 3 years ago
Lol i thought my package-lock was committed, oops.
And yea i can add in Jest tests, say no more 😎
since im lazy, you can also refer to this test.md
doc i wrote up a while ago when i used to be in PharmD.
https://github.com/sandboxnu/pharmd-tracker-backend/blob/dev/src/controller/__tests__/Tests.md
A lot of the stuff will probably refer to PharmD specific tech stack, but there's a good amount of general info about Jests and tests too :D.
hey buddies,
I saw jia start the slack bot dms 👀, so I thought I just make this into a pr to expedite the process.
The way the pairing works in
generatePair.ts
is that it'll partition an array of users in a channel by 2s. If there's an uneven number of people, then add that loner into some existing pair.Idk if this is added in my commits, but I installed
ts-node
and used that to run typescript files easily. so then I just dots-node pairAndIntroduce.ts
https://www.npmjs.com/package/ts-node