From 9efc64fd6a5bcc4a1cce5dc9583c42e688ab87b2 Mon Sep 17 00:00:00 2001 From: Mohamed Abdel Nasser Date: Wed, 15 Jan 2020 03:43:18 +0200 Subject: [PATCH 01/17] translated page title --- src/v2/guide/unit-testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/v2/guide/unit-testing.md b/src/v2/guide/unit-testing.md index b3c8c9ff88..15990368e9 100644 --- a/src/v2/guide/unit-testing.md +++ b/src/v2/guide/unit-testing.md @@ -1,5 +1,5 @@ --- -title: Unit Testing +title: اختبار الوحدة type: guide order: 402 --- From 55442c0444e0e96792e0d7a60a1879c2b711ad15 Mon Sep 17 00:00:00 2001 From: Mohamed Abdel Nasser Date: Fri, 17 Jan 2020 10:25:29 +0200 Subject: [PATCH 02/17] translated simple assertions --- src/v2/guide/unit-testing.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/v2/guide/unit-testing.md b/src/v2/guide/unit-testing.md index 15990368e9..5cd9fbd655 100644 --- a/src/v2/guide/unit-testing.md +++ b/src/v2/guide/unit-testing.md @@ -4,11 +4,11 @@ type: guide order: 402 --- -> [Vue CLI](https://cli.vuejs.org/) has built-in options for unit testing with [Jest](https://github.com/facebook/jest) or [Mocha](https://mochajs.org/) that works out of the box. We also have the official [Vue Test Utils](https://vue-test-utils.vuejs.org/) which provides more detailed guidance for custom setups. +> يحتوي [Vue CLI](https://cli.vuejs.org) على خيارات مدمجة لاختبار الوحدة باستخدام [Jest](https://github.com/facebook/jest) أو [Mocha](https: // mochajs.org/) الذي يعمل من خارج منطقة الجزاء. لدينا أيضًا [استخدام اختبار Vue](https://vue-test-utils.vuejs.org/) الرسمي الذي يوفر إرشادات أكثر تفصيلًا عن الإعدادات المخصصة. -## Simple Assertions +## تأكيدات بسيطة -You don't have to do anything special in your components to make them testable. Export the raw options: +ليس عليك القيام بأي شيء خاص في مكوناتك لجعلها قابلة للاختبار. تصدير الخيارات الأولية: ``` html