Commit Graph

94 Commits

Author SHA1 Message Date
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
Blade Barringer a0e7eef956 Fix legacy tests 2015-10-20 20:17:10 -05:00
Blade Barringer 23398b1a37 Closes #6071 2015-10-20 12:39:04 -05:00
Blade Barringer 1417d643e4 Comment out content test until we know for sure what we're doing with the content files 2015-10-18 10:14:54 -05:00
Blade Barringer 7f6b392511 Add gulp watch task for api tests 2015-10-17 19:17:23 -05:00
Blade Barringer 5d268c58de Adjust api test commands 2015-10-17 18:04:32 -05:00
Blade Barringer 02e9775ba7 Set up new api test structure 2015-10-17 12:37:17 -05:00
Blade Barringer 59e2b92dae Kill mocha test if not set to watch 2015-10-17 12:23:04 -05:00
Blade Barringer 9a14368170 Correct test commands 2015-10-17 12:22:04 -05:00
Blade Barringer a61632fa92 Set up api tests 2015-10-16 21:56:46 -05:00
Blade Barringer b26c8c3e74 Add api test task 2015-10-16 21:43:43 -05:00
Blade Barringer 115af819a0 Create task to set up a test server 2015-10-16 15:00:33 -05:00
Blade Barringer 0992f560e0 Merge branch 'develop' into new_api_test_infrastructure 2015-10-16 14:54:03 -05:00
Blade Barringer ccd77090f4 Fix css template for sprites 2015-10-08 17:31:32 -05:00
Blade Barringer f9ee70e912 Increase max buffer for content tests 2015-10-03 10:47:26 -05:00
Blade Barringer b4ce683190 Correct tests 2015-10-01 21:56:14 -05:00
Blade Barringer 1b9c7c51c2 Set up content tests 2015-09-29 07:55:13 -05:00
Blade Barringer b8a8eff434 Merge branch 'develop' into refactor-content 2015-09-28 12:45:18 -05:00
Blade Barringer f1e442bed4 Extract test commands into constants 2015-09-28 08:54:53 -05:00
Blade Barringer c21802e7e7 Merge branch 'develop' into refactor-content 2015-09-25 12:22:11 -05:00
Matteo Pagliazzi 5ac46716a3 add eslint tasks to gulp, remove .jshintrc 2015-09-25 15:44:45 +02:00
Blade Barringer 050be4a3db Add babel task as dependency 2015-09-21 12:01:06 -05:00
Blade Barringer 85a16b62e5 Add babel task and move to src directory 2015-09-17 17:42:53 -05:00
Blade Barringer e5b19344f6 Use $(npm bin) in gulp test 2015-09-16 08:18:50 -05:00
Blade Barringer 3c1fd385fa Rename existing api tests to api-legacy 2015-09-16 08:12:47 -05:00
Blade Barringer 7aad958062 Merge pull request #5922 from crookedneighbor/gulpify
Gulpify the sprites tasks
2015-09-13 02:15:05 -05:00
Blade Barringer be6acd7c09 Move post to slack function to task helper 2015-09-12 22:23:08 -05:00
Blade Barringer 5876c37271 Remove underscores from function names 2015-09-12 21:04:38 -05:00
Blade Barringer a0e5ea6f4f Reformat sprite tasks 2015-09-12 20:43:04 -05:00
Blade Barringer d79427e879 Functionify sprite task creation 2015-09-12 11:09:29 -05:00
Blade Barringer 1a28c37167 Reorganize sprite task 2015-09-12 10:51:15 -05:00
Blade Barringer 43576addf8 Refactor sprite indicies function 2015-09-12 10:24:06 -05:00
Blade Barringer 5cea988891 Calculate number of sprite tasks by img dimensions 2015-09-12 08:27:05 -05:00
Blade Barringer 17efad6a30 Rework compiled dimensions task to not rely on lodash 2015-09-11 20:53:32 -05:00
Blade Barringer d3d365a74a Move sprites task to gulp 2015-09-11 19:59:06 -05:00
Blade Barringer 1406166823 remove unneeded require 2015-09-08 16:21:02 -05:00
Blade Barringer a85116540c Move run:dev task to gulp 2015-09-08 15:45:09 -05:00
Blade Barringer bc9c12f253 Move static new stuff task to gulp 2015-09-04 15:32:08 -05:00
Blade Barringer cfae45a5f7 Move build task to gulp 2015-09-04 15:30:44 -05:00