docs: rename packages (#9618)

This commit is contained in:
Shahed Nasser
2024-10-18 14:43:46 +00:00
committed by GitHub
parent 30659b077a
commit 61e6a07b55
16 changed files with 47 additions and 47 deletions
@@ -6,23 +6,23 @@ export const metadata = {
In this chapter, you'll learn about Medusa's testing tools and how to install and configure them.
## medusa-test-utils Package
## @medusajs/test-utils Package
Medusa provides a `medusa-test-utils` package with utility tools to create integration tests for your custom API routes, modules, or other Medusa customizations.
Medusa provides a `@medusajs/test-utils` package with utility tools to create integration tests for your custom API routes, modules, or other Medusa customizations.
### Install medusa-test-utils
### Install @medusajs/test-utils
To use the `medusa-test-utils` package, install it as a `devDependency`:
To use the `@medusajs/test-utils` package, install it as a `devDependency`:
```bash npm2yarn
npm install --save-dev medusa-test-utils@rc
npm install --save-dev @medusajs/test-utils@rc
```
---
## Install and Configure Jest
Writing tests with `medusa-test-utils`'s tools requires installing and configuring Jest in your project.
Writing tests with `@medusajs/test-utils`'s tools requires installing and configuring Jest in your project.
{/* TODO remove this note at some point in the future */}
@@ -100,4 +100,4 @@ Medusa provides utility tools for integration tests only. You can write unit tes
## Test Tools and Writing Tests
The next chapters explain how to use the testing tools provided by `medusa-test-utils` to write tests.
The next chapters explain how to use the testing tools provided by `@medusajs/test-utils` to write tests.