new server test with precommit hook to secure .env files, set up CI environment (#5)

* new server test with precommit hook to secure .env files, set up CI environment (#3)

* [TESTS] added all registered routes to api server test

* [WIP] abstracting config to env where it makes sense, refactoring elsewhere, adding more tests

* [WIP] fixed tests so they fail as expected

* [WIP]

* [DEBUG] fixed issues with the env configuration, added correct tests

* [MISC] env didn't get readded on last precommit

* [TESTS] added longer wait time for server as sometimtimes tests fail arbitrarily
This commit is contained in:
Joshua
2018-12-14 15:59:12 +00:00
committed by GitHub
parent 1515f17461
commit 5f4943d1d5
15 changed files with 351 additions and 44 deletions

19
src/sheets_config.js Normal file
View File

@@ -0,0 +1,19 @@
import BP from './lib/blueprinters'
export default {
googleSheets: {
sheets: [
{
name: 'example',
id: '1UC7DkCFeUXHfpUxUGruExwFbP4pqVBdJLOKfo6wDDGk',
tabs: {
export_events: [BP.deeprows, BP.rows],
export_categories: [BP.groups, BP.rows],
export_sources: BP.ids,
export_sites: BP.rows,
export_tags: BP.tree
}
}
]
}
}