From 8ebf4a6b6f6088dec102e97d07099a9a56116ad9 Mon Sep 17 00:00:00 2001
From: Tim Otten <totten@civicrm.org>
Date: Thu, 26 Oct 2017 16:49:03 -0700
Subject: [PATCH] Rename docs/testing/javascript.md => docs/testing/karma.md

There are multiple tools for testing in JS. We'll want separate pages for each.
---
 docs/standards/javascript.md             | 2 +-
 docs/testing/{javascript.md => karma.md} | 0
 mkdocs.yml                               | 2 +-
 redirects/internal.txt                   | 1 +
 4 files changed, 3 insertions(+), 2 deletions(-)
 rename docs/testing/{javascript.md => karma.md} (100%)

diff --git a/docs/standards/javascript.md b/docs/standards/javascript.md
index bd9ff431..71861dc3 100644
--- a/docs/standards/javascript.md
+++ b/docs/standards/javascript.md
@@ -165,7 +165,7 @@ CiviCRM has a small set up of Qunit which is an automated testing system. It's g
 
 ### Karma
 
-For testing CiviCRM's Angular implementation in Core, CiviCRM has intergrated some Karma tests into the standard test suite that is run against each Pull request. More information on karma can be found in the [Javascript testing](/testing/javascript.md) section of this guide
+For testing CiviCRM's Angular implementation in Core, CiviCRM has intergrated some Karma tests into the standard test suite that is run against each Pull request. More information on karma can be found in the [Karama (JS)](/testing/karma.md) section of this guide
 
 ## Javascript in Markup
 
diff --git a/docs/testing/javascript.md b/docs/testing/karma.md
similarity index 100%
rename from docs/testing/javascript.md
rename to docs/testing/karma.md
diff --git a/mkdocs.yml b/mkdocs.yml
index 079025ea..80472d49 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -184,7 +184,7 @@ pages:
 - Testing:
   - Testing: testing/index.md
   - PHPUnit Tests: testing/phpunit.md
-  - Javascript Tests: testing/javascript.md
+  - Karma (JS) Tests: testing/karma.md
   - Selenium Tests: testing/selenium.md
   - Continuous Integration: testing/continuous-integration.md
   - Upgrade Tests: testing/upgrades.md
diff --git a/redirects/internal.txt b/redirects/internal.txt
index 837d8284..a71a7806 100644
--- a/redirects/internal.txt
+++ b/redirects/internal.txt
@@ -6,6 +6,7 @@ extensions/basics extensions
 api/general api
 hooks/hook_civicrm_trigger_info hooks/hook_civicrm_triggerInfo
 testing/setup testing/index
+testing/javascript testing/karma
 framework/schema-definition framework/database/schema-definition
 api/params api/options
 testing/selinium testing/selenium
-- 
GitLab