mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Move JS file to tests directory
This commit is contained in:
16
tests/js/login/config/testacular.conf.js
Normal file
16
tests/js/login/config/testacular.conf.js
Normal file
@@ -0,0 +1,16 @@
|
||||
basePath = '../../../../';
|
||||
|
||||
files = [
|
||||
JASMINE,
|
||||
JASMINE_ADAPTER,
|
||||
'www/assets/angular/angular.js',
|
||||
'www/assets/angular-ui/build/angular-ui.js',
|
||||
'www/assets/underscore/underscore.js',
|
||||
'www/assets/angular-mocks/angular-mocks.js',
|
||||
'www/skins/login/js/angular/app/*.js',
|
||||
'tests/js/login/tests/unit/*.js'
|
||||
];
|
||||
|
||||
autoWatch = true;
|
||||
|
||||
browsers = ['firefox'];
|
2
www/skins/login/js/angular/scripts/test.bat → tests/js/scripts/run.bat
Normal file → Executable file
2
www/skins/login/js/angular/scripts/test.bat → tests/js/scripts/run.bat
Normal file → Executable file
@@ -8,4 +8,4 @@ REM - NodeJS (http://nodejs.org/)
|
||||
REM - Testacular (npm install -g testacular)
|
||||
|
||||
set BASE_DIR=%~dp0
|
||||
testacular start "%BASE_DIR%\..\config\testacular.conf.js" %*
|
||||
testacular start "%BASE_DIR%\..\login\config\testacular.conf.js" %*
|
2
www/skins/login/js/angular/scripts/test.sh → tests/js/scripts/run.sh
Normal file → Executable file
2
www/skins/login/js/angular/scripts/test.sh → tests/js/scripts/run.sh
Normal file → Executable file
@@ -6,4 +6,4 @@ echo ""
|
||||
echo "Starting Testacular Server (http://vojtajina.github.com/testacular)"
|
||||
echo "-------------------------------------------------------------------"
|
||||
|
||||
testacular start $BASE_DIR/../config/testacular.conf.js $*
|
||||
testacular start $BASE_DIR/../login/config/testacular.conf.js $*
|
@@ -1,16 +0,0 @@
|
||||
basePath = '../../../../../';
|
||||
|
||||
files = [
|
||||
JASMINE,
|
||||
JASMINE_ADAPTER,
|
||||
'assets/angular/angular.js',
|
||||
'assets/angular-ui/build/angular-ui.js',
|
||||
'assets/underscore/underscore.js',
|
||||
'assets/angular-mocks/angular-mocks.js',
|
||||
'skins/login/js/angular/app/*.js',
|
||||
'skins/login/js/angular/tests/unit/*.js'
|
||||
];
|
||||
|
||||
autoWatch = true;
|
||||
|
||||
browsers = ['firefox'];
|
Reference in New Issue
Block a user