Files
medusa-store/integration-tests
Adrien de Peretti edeac8ac72 feat(medusa): Add /admin/products/:id/variants end point (#1471)
* feat(medusa): Add /admin/products/:id/variants end point

* test(medusa): Fix get-variants test casees

* feat(medusa): Include the config to the ProdutService#retrieveVariants as a method parameter

* feat(medusa): Improve get-variants endpoint

* feat(medusa): Improve get-variants endpoint

* test(medusa): Fix unit tests

* test(medusa): Fix unit tests

* feat(medusa): Improve typings

* feat(medusa): Update according to feedback

* feat(medusa): Update according to feedback

* test(medusa): Fix list-variants tests

* feat(medusa): Getting the variants from the product end point should use the productVariantService

* fix(medusa): list-variants expand possibly undefined

* Fix(medusa): List-variants endpoint

* fix(medusa): Tests suite for list-variant

* test(integration-tests): Fix yarn lock

* test(integration-tests): Fix yarn lock
2022-05-16 12:19:34 +02:00
..
2022-05-10 14:15:08 +02:00
2022-02-24 20:14:09 +01:00
2022-02-24 20:14:09 +01:00
2021-12-08 09:56:59 +01:00
2022-02-03 20:03:25 +01:00
2022-02-24 20:14:09 +01:00

Integration-tests

To be able to run the integration tests on your local machine, run the following commands (adapted to your machine)

cd [ROOT_OF_YOUR_REPO]
medusa-dev -p [YOUR_ABSOLUTE_PATH_TO_THE_REPO]
npm run bootstrap
cd integration-tests/api
medusa-dev -s
npm run build
cd - && npm run test:integration