Renaming QUnit test files from "test_" to "test.js"

Updates QUnit test files from starting with "test_" to ending with
"test.js" in accordance with the Readers Wed coding conventions.

https://www.mediawiki.org/wiki/Reading/Web/Coding_conventions

Bug: T197884
Change-Id: I3c15385d22d308b8b465985ca55e8b802d72dae4
This commit is contained in:
Jan Drewniak 2018-09-19 14:53:28 +02:00
parent 00405b0309
commit 6856ef8b5e
4 changed files with 3 additions and 3 deletions

View file

@ -274,14 +274,14 @@ class Hooks {
'ext.relatedArticles.cards'
],
'scripts' => [
'ext.relatedArticles.cards/CardModel.js',
'ext.relatedArticles.cards/CardView.js',
'ext.relatedArticles.cards/CardModel.test.js',
'ext.relatedArticles.cards/CardView.test.js',
]
];
$modules['qunit']['ext.relatedArticles.readMore.gateway.tests'] = $boilerplate + [
'scripts' => [
'ext.relatedArticles.readMore.gateway/test_RelatedPagesGateway.js',
'ext.relatedArticles.readMore.gateway/RelatedPagesGateway.test.js',
],
'dependencies' => [
'ext.relatedArticles.readMore.gateway',