From df59b436b2cc5b5c5a7be192ddec3891251c7392 Mon Sep 17 00:00:00 2001 From: Jon Ursenbach Date: Thu, 21 Nov 2024 11:15:16 -0800 Subject: [PATCH] docs(sdk-snippet): updating some outdated info --- packages/sdk-snippets/CONTRIBUTING.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sdk-snippets/CONTRIBUTING.md b/packages/sdk-snippets/CONTRIBUTING.md index e2ffa115d7..3669c0a757 100644 --- a/packages/sdk-snippets/CONTRIBUTING.md +++ b/packages/sdk-snippets/CONTRIBUTING.md @@ -58,14 +58,14 @@ Clients are what _actually_ generate snippets. For Node, if you want to generate Once that's all done and your client is constructed you're ready to run unit tests. ```bash -npx jest src/targets/targets.test.ts +npx vitest src/targets/targets.test.ts ``` - Running this on a brand new client will throw exceptions for missing fixture snapshots, add those to `src/targets/{TARGET}/{CLIENT}/{server|webhooks}/fixtures` as they come up. -- If you happen to make changes to your client and it breaks your fixture snapshots you can re-run Jest with `OVERWRITE_EVERYTHING=true` update your fixtures. +- If you happen to make changes to your client and it breaks your fixture snapshots you can re-run Vitest with `OVERWRITE_EVERYTHING=true` update your fixtures. ```bash -OVERWRITE_EVERYTHING=true npx jest src/targets/targets.test.ts +OVERWRITE_EVERYTHING=true npx vitest src/targets/targets.test.ts ``` ### `client.ts`