docs: fix test command in plan (pnpm test, not pnpm vitest run)
This commit is contained in:
1 parent
9218f208d7
commit
8ea55eb474
1 file changed
+9
-9
@@ -327,7 +327,7 @@ describe("unifiOsClientSchema", () => {
|
||||
|
||||
- [ ] **Step 2 : Lancer les tests pour vérifier qu'ils échouent**
|
||||
|
||||
Run: `pnpm vitest run packages/integrations/src/unifi-os/test/unifi-os-types.spec.ts`
|
||||
Run: `pnpm test packages/integrations/src/unifi-os/test/unifi-os-types.spec.ts`
|
||||
Expected: FAIL — `Cannot find module '../unifi-os-types'`.
|
||||
|
||||
- [ ] **Step 3 : Écrire l'implémentation**
|
||||
@@ -565,7 +565,7 @@ export const matchCloudSite = <TSite extends { meta: { gatewayMac?: string } }>(
|
||||
|
||||
- [ ] **Step 4 : Lancer les tests pour vérifier qu'ils passent**
|
||||
|
||||
Run: `pnpm vitest run packages/integrations/src/unifi-os/test/unifi-os-types.spec.ts`
|
||||
Run: `pnpm test packages/integrations/src/unifi-os/test/unifi-os-types.spec.ts`
|
||||
Expected: PASS, 15 tests.
|
||||
|
||||
- [ ] **Step 5 : Formater et committer**
|
||||
@@ -721,7 +721,7 @@ describe("UnifiOsApi getFirstSiteAsync", () => {
|
||||
|
||||
- [ ] **Step 2 : Lancer les tests pour vérifier qu'ils échouent**
|
||||
|
||||
Run: `pnpm vitest run packages/integrations/src/unifi-os/test/unifi-os-api.spec.ts`
|
||||
Run: `pnpm test packages/integrations/src/unifi-os/test/unifi-os-api.spec.ts`
|
||||
Expected: FAIL — `Cannot find module '../unifi-os-api'`.
|
||||
|
||||
- [ ] **Step 3 : Écrire l'implémentation**
|
||||
@@ -854,7 +854,7 @@ export class UnifiOsApi {
|
||||
|
||||
- [ ] **Step 4 : Lancer les tests pour vérifier qu'ils passent**
|
||||
|
||||
Run: `pnpm vitest run packages/integrations/src/unifi-os/test/unifi-os-api.spec.ts`
|
||||
Run: `pnpm test packages/integrations/src/unifi-os/test/unifi-os-api.spec.ts`
|
||||
Expected: PASS, 7 tests.
|
||||
|
||||
- [ ] **Step 5 : Committer**
|
||||
@@ -1009,7 +1009,7 @@ describe("UnifiSmApi getIspMetricsAsync", () => {
|
||||
|
||||
- [ ] **Step 2 : Lancer les tests pour vérifier qu'ils échouent**
|
||||
|
||||
Run: `pnpm vitest run packages/integrations/src/unifi-os/test/unifi-sm-api.spec.ts`
|
||||
Run: `pnpm test packages/integrations/src/unifi-os/test/unifi-sm-api.spec.ts`
|
||||
Expected: FAIL — `Cannot find module '../unifi-sm-api'`.
|
||||
|
||||
- [ ] **Step 3 : Écrire l'implémentation**
|
||||
@@ -1148,7 +1148,7 @@ export class UnifiSmApi {
|
||||
|
||||
- [ ] **Step 4 : Lancer les tests pour vérifier qu'ils passent**
|
||||
|
||||
Run: `pnpm vitest run packages/integrations/src/unifi-os/test/unifi-sm-api.spec.ts`
|
||||
Run: `pnpm test packages/integrations/src/unifi-os/test/unifi-sm-api.spec.ts`
|
||||
Expected: PASS, 7 tests.
|
||||
|
||||
- [ ] **Step 5 : Committer**
|
||||
@@ -1334,7 +1334,7 @@ describe("UnifiOsIntegration getUnifiOsSummaryAsync", () => {
|
||||
|
||||
- [ ] **Step 2 : Lancer les tests pour vérifier qu'ils échouent**
|
||||
|
||||
Run: `pnpm vitest run packages/integrations/src/unifi-os/test/unifi-os-integration.spec.ts`
|
||||
Run: `pnpm test packages/integrations/src/unifi-os/test/unifi-os-integration.spec.ts`
|
||||
Expected: FAIL — `Cannot find module '../unifi-os-integration'`.
|
||||
|
||||
- [ ] **Step 3 : Écrire l'interface**
|
||||
@@ -1500,7 +1500,7 @@ export * from "./interfaces/unifi-os-summary/unifi-os-summary-integration";
|
||||
|
||||
- [ ] **Step 6 : Lancer les tests pour vérifier qu'ils passent**
|
||||
|
||||
Run: `pnpm vitest run packages/integrations/src/unifi-os/`
|
||||
Run: `pnpm test packages/integrations/src/unifi-os/`
|
||||
Expected: PASS, l'ensemble des tests des tâches 2 à 5.
|
||||
|
||||
- [ ] **Step 7 : Vérifier le typage**
|
||||
@@ -1907,7 +1907,7 @@ Dans `packages/translation/src/lang/en.json`, dans l'objet `widget`, ajouter :
|
||||
|
||||
- [ ] **Step 7 : Lancer les tests du paquet widgets**
|
||||
|
||||
Run: `pnpm vitest run packages/widgets/src/manifest.spec.ts`
|
||||
Run: `pnpm test packages/widgets/src/manifest.spec.ts`
|
||||
Expected: PASS. Ce test vérifie que le nouveau `WidgetKind` est présent dans le manifeste, dans le catalogue avec la **même** icône, et dans les intervalles de rafraîchissement. Un échec ici indique un point d'enregistrement oublié.
|
||||
|
||||
- [ ] **Step 8 : Vérifier le typage global**
|
||||
|
||||
Reference in new issue
Block a user