The toBeOk
and toBeUint
methods are used to ensure the `count-up` function returns the proper Clarity values. For more details, check out the [custom matchers](/stacks/clarinet-js-sdk/references/custom-matchers) page.
package.json
file that contains the necessary dependencies and scripts to run your tests.
-
+
```json title="package.json"
"scripts": {
"test": "vitest run", // [!code highlight]
@@ -123,10 +126,87 @@ Check out the [methods](/stacks/clarinet-js-sdk/references/methods) page for the
```
You can now run your tests, with your preferred package manager, by executing the following command:
-
+
```console
npm run test
```
+
+