Commit graph

132 commits

Author SHA1 Message Date
Blade Barringer
f33469609c Adjust sprite task to not include wheelchair images in the customize-option handling 2016-03-24 07:57:50 -05:00
Blade Barringer
17d2efb822 refactor: Organize protractor setup 2016-03-13 16:41:57 -05:00
Blade Barringer
0b65292e4b test: Update protractor to v3 and use mocha 2016-03-13 09:51:01 -05:00
Matteo Pagliazzi
bb6f0f4252 split user.fns 2016-03-08 18:58:39 +01:00
Blade Barringer
511b003ec5 Merge pull request #6811 from crookedneighbor/upgrade_babel
chore: upgrade babel to v6
2016-03-04 08:36:08 -06:00
Blade Barringer
9447a6ce10 feat: pre-compile babel when used in production 2016-03-04 07:44:22 -06:00
Blade Barringer
b61cfefc30 fix: fix issue where build would fail but exit as if oy passed 2016-03-03 21:05:06 -06:00
Blade Barringer
0406142e0e chore: upgrade babel to v6 2016-03-02 21:36:27 -06:00
Blade Barringer
c96ddaeebe refactor: Remove unused common script src files 2016-03-01 08:49:25 -06:00
Matt Harrington
46e13fecad TEST_DB_URI env override 2016-02-25 00:08:24 +00:00
Alys
f631712a45 deemphasise the warning that spritesheets might be too large for mobile safari - ref https://github.com/HabitRPG/habitrpg/pull/6683#issuecomment-185462180 2016-02-18 18:52:09 +10:00
Kristian Tashkov
5b740b1a11 Fix setting of environment variables in gulp test tasks in Windows
See this stackoverflow link for why this is necessary
http://stackoverflow.com/questions/27084392/code-coverage-for-mocha-in-windows-7/27193866#27193866
2016-01-18 16:55:15 -06:00
Blade Barringer
79f2dc6b1a tests: Update gulp task to use npm scripts 2016-01-18 11:10:22 -06:00
Blade Barringer
8a19a84f3f lint(tests): Add e2e tests to linter 2016-01-06 20:52:24 -06:00
Blade Barringer
262d04e14c lint(tests): Re-enable inting for api tests 2016-01-02 18:27:27 -06:00
Blade Barringer
0d75d5b541 lint: Move test eslint rules to .eslintrc in test directory 2015-12-31 15:46:47 -06:00
Blade Barringer
b3050e5a67 chore(dependency): Upgrade lodash from v2 to v3 2015-12-29 07:45:03 -06:00
Blade Barringer
e5c9924141 lint: Ignore rule for one-var in tests 2015-12-26 08:13:45 -06:00
Blade Barringer
9a76e7a62c chore(gulp): Add convience task for starting up a test server. 2015-11-21 09:33:29 -06:00
Blade Barringer
a6fb5790e5 refactor(gulp): Dry out linting task 2015-11-20 07:56:59 -06:00
Blade Barringer
776faddb34 (chore): lint test/common files 2015-11-19 20:27:39 -06:00
Blade Barringer
5947dcf68b (chore): Add lint:watch task 2015-11-18 17:23:33 -06:00
Blade Barringer
22c8a24d15 Move test specific eslint rules to eslint task 2015-11-18 08:50:03 -06:00
Blade Barringer
553548046f Add linting for tests 2015-11-17 23:14:49 -06:00
Blade Barringer
8f9224c2ae Adjust error handling for test task. 2015-11-16 12:23:09 -06:00
Blade Barringer
7a865b5c2a Correct test output agregator 2015-11-16 12:04:09 -06:00
Blade Barringer
a127bb8711 Switch to babel-core form babel.
Babel includes the CLI, which we don't need.
2015-11-15 08:59:57 -06:00
Blade Barringer
2e16bade2b Add lint task to test command. 2015-11-15 08:28:16 -06:00
Blade Barringer
5be9b88cc6 Add babel compiler to mocha.opts 2015-11-15 08:24:19 -06:00
Blade Barringer
6f11054994 Add trailing comma 2015-11-15 08:10:54 -06:00
Blade Barringer
351172d178 Correct common test command to compile with babel. 2015-11-14 21:52:59 -06:00
Blade Barringer
c3b4f03c35 Add linting for common files 2015-11-14 07:49:48 -06:00
Blade Barringer
7ec9687774 Add linting from api-v3 2015-11-14 07:40:05 -06:00
Blade Barringer
7559f14f4d Remove coffee from files 2015-11-11 20:40:26 -06:00
Blade Barringer
25ae2e4252 Move browserify task to gulp 2015-11-11 20:32:17 -06:00
Blade Barringer
6b7a757459 Run tests in sequence 2015-11-09 12:47:56 -06:00
Blade Barringer
88f8a2a375 Swap out gulp-clean for rimraf 2015-11-07 19:09:51 -06:00
Blade Barringer
6ed3ba36ae Refactor task helper for unit and integration tests. 2015-11-03 21:21:16 -06:00
Blade Barringer
0923077f2f Correct task. 2015-11-03 08:49:10 -06:00
Blade Barringer
b71f1f7862 Extract mocha function into taskHelper 2015-11-03 08:41:16 -06:00
Blade Barringer
8c95de0835 Move api tests to v2 namespace 2015-11-03 08:31:20 -06:00
Matteo Pagliazzi
ed0e4c6d20 Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other \
for the upcoming api v3

Reorganize files under /src, separate express app in two apps, one for api v1 and v2 and the other for the upcoming api v3

move api v2 routes in a separate folder, rename apiv1 file for better readability, remove auth routes for api v1

move api-v2 controllers in subdirectory

move unorganized files to /libs

fix gulp requires and separate server in old (api v1 and v2) and new (api v3) app

fix require paths

fix require paths

fix require paths

put api v1 back

Reorganize files under /src and separate express app in one for api v1 and v2 and the other for v3
2015-11-02 17:43:32 +01:00
Blade Barringer
f13641b6a9 Add NODE_ENV to test server startup 2015-10-27 08:00:33 -05:00
Blade Barringer
829b1253fb Revert nodemon change for tests and log errors if they arise 2015-10-25 11:10:10 -05:00
Blade Barringer
7fe2a19bc5 Adjust start server task to use nodemon to recover from syntax errors 2015-10-25 09:54:09 -05:00
Blade Barringer
45afc9f3fb Only start up server in tests if it is not already running. 2015-10-25 09:19:42 -05:00
Blade Barringer
e456bdb2ae Revert npm bin command 2015-10-23 17:35:45 -05:00
Blade Barringer
5481178dbe Move e2e tests higher up in test calls 2015-10-23 12:42:47 -05:00
Blade Barringer
6492554cf1 Add error handling for when mongo is not running. 2015-10-23 12:19:51 -05:00
Blade Barringer
3036c6db9e Merge branch 'develop' into new_api_test_infrastructure 2015-10-20 21:18:49 -05:00