Robert Schäfer
9e4edca35b
Use node spawn to spin off several servers
2019-01-17 15:17:18 +01:00
Robert Schäfer
b2d1685b06
WIP: Integrate permissionless app into setup hooks
2019-01-15 00:39:06 +01:00
Robert Schäfer
6f487e2687
Fix non-deterministic erros in testing
...
Without the `--runInBand` flag, jest will create a worker pool of child
processes and run the tests withing. No surprise, why the tests were
running completely non-deterministically! If we clear the database in
the middle of the tests we will end up with no records, or if we run the
factories in several tests we end up with many duplicate records.
FYI: @mattwr18 @appinteractive @tansaku @Kachulio1
2019-01-14 23:22:12 +01:00
Robert Schäfer
d0b975e782
Getting strange non-deterministic errors
2019-01-14 20:54:11 +01:00
Grzegorz Leoniec
fb885ddcda
Merge branch 'master' into 106_authorization
2019-01-13 15:42:21 +01:00
dependabot[bot]
53044c4cf6
Bump apollo-cache-inmemory from 1.3.11 to 1.3.12
...
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client ) from 1.3.11 to 1.3.12.
- [Release notes](https://github.com/apollographql/apollo-client/releases )
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-client/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-12 20:51:19 +00:00
dependabot[bot]
da19dee1f2
Bump eslint-plugin-jest from 22.1.2 to 22.1.3
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 22.1.2 to 22.1.3.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v22.1.2...v22.1.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-10 04:19:47 +00:00
Robert Schäfer
9262fbb44f
Start a test server only once.
...
This keeps our tests small. It is quite a headache though, because of an
issue with jest and with transpiling. For reasons that I don't understand
running `yarn run test:jest` sometimes complains about open handles.
I would love to hear how to make our build more reliable.
2019-01-09 14:49:35 +01:00
Robert Schäfer
13666df3e2
Don't run tests in /dist folder
...
If you ran `yarn run build` followed by `yarn run test:jest` it was
running the tests twice, because it matched the `/dist` folder to.
2019-01-09 13:50:59 +01:00
dependabot[bot]
1dd852ee9f
Bump neo4j-graphql-js from 2.1.1 to 2.2.0
...
Bumps [neo4j-graphql-js](https://github.com/neo4j-graphql/neo4j-graphql-js ) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/neo4j-graphql/neo4j-graphql-js/releases )
- [Changelog](https://github.com/neo4j-graphql/neo4j-graphql-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/neo4j-graphql/neo4j-graphql-js/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-09 04:30:55 +00:00
dependabot[bot]
b6511b9a03
Bump apollo-client from 2.4.7 to 2.4.8
...
Bumps [apollo-client](https://github.com/apollographql/apollo-client ) from 2.4.7 to 2.4.8.
- [Release notes](https://github.com/apollographql/apollo-client/releases )
- [Changelog](https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-client/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-07 16:06:35 +00:00
kachulio1
e1070e15f2
add done on async test
2019-01-03 22:03:23 +03:00
Grzegorz Leoniec
626d1ada48
Merge branch 'master' into 49_fix_no_user_with_that_email
2019-01-03 17:27:42 +01:00
dependabot[bot]
7f567be64f
Bump neo4j-graphql-js from 2.0.1 to 2.1.1
...
Bumps [neo4j-graphql-js](https://github.com/neo4j-graphql/neo4j-graphql-js ) from 2.0.1 to 2.1.1.
- [Release notes](https://github.com/neo4j-graphql/neo4j-graphql-js/releases )
- [Changelog](https://github.com/neo4j-graphql/neo4j-graphql-js/blob/master/CHANGELOG.md )
- [Commits](https://github.com/neo4j-graphql/neo4j-graphql-js/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 06:55:44 +00:00
dependabot[bot]
363105281b
Bump eslint from 5.10.0 to 5.11.1
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.10.0 to 5.11.1.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v5.10.0...v5.11.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-03 04:33:35 +00:00
Robert Schäfer
0185f743e8
Update README with a warning and fix package.json
2019-01-02 15:59:32 +01:00
Grzegorz Leoniec
27cd718342
Merge branch 'master' into 49_fix_no_user_with_that_email
2019-01-02 13:55:53 +01:00
Robert Schäfer
23b454025a
Implement user factory and database clean up
2019-01-02 13:14:28 +01:00
dependabot[bot]
3f6fa66bdd
Bump @babel/preset-env from 7.2.0 to 7.2.3
...
Bumps [@babel/preset-env](https://github.com/babel/babel ) from 7.2.0 to 7.2.3.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.2.0...v7.2.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 11:10:31 +00:00
dependabot[bot]
42006c51bc
Bump @babel/cli from 7.2.0 to 7.2.3
...
Bumps [@babel/cli](https://github.com/babel/babel ) from 7.2.0 to 7.2.3.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.2.0...v7.2.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-02 10:53:45 +00:00
dependabot[bot]
9ff227d28f
Bump @babel/node from 7.2.0 to 7.2.2
...
Bumps [@babel/node](https://github.com/babel/babel ) from 7.2.0 to 7.2.2.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/compare/v7.2.0...v7.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-31 19:19:28 +00:00
Toverto
cd651b07fa
Change db scripts to run nodemon instead of node
...
this way you don't have to run yarn run build before seeding the db
2018-12-23 19:30:15 +01:00
Robert Schäfer
6b216be05c
Add @mattwr18's code and fix linting
2018-12-21 00:03:57 +01:00
kachulio1
e58e228f0c
remove supertest
2018-12-20 22:44:52 +03:00
kachulio1
2ccbb1ca92
add supertest
2018-12-20 20:39:48 +03:00
Robert Schäfer
eaef67fad3
Replace mocha with jest
...
To have a consisten test runner in both repos (Nitro-Web and
Nitro-Backend)
2018-12-20 17:55:03 +01:00
dependabot[bot]
acd1197ca1
Bump sanitize-html from 1.19.3 to 1.20.0
...
Bumps [sanitize-html](https://github.com/punkave/sanitize-html ) from 1.19.3 to 1.20.0.
- [Release notes](https://github.com/punkave/sanitize-html/releases )
- [Changelog](https://github.com/punkave/sanitize-html/blob/master/CHANGELOG.md )
- [Commits](https://github.com/punkave/sanitize-html/compare/1.19.3...1.20.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-18 04:20:24 +00:00
Grzegorz Leoniec
5f133a2d48
Merge pull request #81 from Human-Connection/dependabot/npm_and_yarn/apollo-link-http-1.5.9
...
Bump apollo-link-http from 1.5.8 to 1.5.9
2018-12-17 10:32:30 +01:00
dependabot[bot]
b8a89c9fac
Bump apollo-link-http from 1.5.8 to 1.5.9
...
Bumps [apollo-link-http](https://github.com/apollographql/apollo-link ) from 1.5.8 to 1.5.9.
- [Release notes](https://github.com/apollographql/apollo-link/releases )
- [Changelog](https://github.com/apollographql/apollo-link/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-link/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-17 04:41:28 +00:00
dependabot[bot]
cdda79fd2e
Bump nodemon from 1.18.8 to 1.18.9
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 1.18.8 to 1.18.9.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v1.18.8...v1.18.9 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-17 04:39:16 +00:00
dependabot[bot]
f992a13632
Bump apollo-server from 2.2.6 to 2.3.1
...
Bumps [apollo-server](https://github.com/apollographql/apollo-server ) from 2.2.6 to 2.3.1.
- [Release notes](https://github.com/apollographql/apollo-server/releases )
- [Changelog](https://github.com/apollographql/apollo-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-server/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-16 17:17:38 +00:00
Grzegorz Leoniec
cf8ed1ceb3
Merge pull request #74 from Human-Connection/dependabot/npm_and_yarn/apollo-link-http-1.5.8
...
Bump apollo-link-http from 1.5.7 to 1.5.8
2018-12-16 18:12:38 +01:00
Grzegorz Leoniec
3fc7044676
moved npm-run-all and wait-on from dev to prod dependencies as they are needed for seeding
2018-12-15 13:40:17 +01:00
dependabot[bot]
6d0f69eb75
Bump apollo-link-http from 1.5.7 to 1.5.8
...
Bumps [apollo-link-http](https://github.com/apollographql/apollo-link ) from 1.5.7 to 1.5.8.
- [Release notes](https://github.com/apollographql/apollo-link/releases )
- [Changelog](https://github.com/apollographql/apollo-link/blob/master/CHANGELOG.md )
- [Commits](https://github.com/apollographql/apollo-link/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-14 21:44:40 +00:00
Robert Schäfer
9f78a96de2
Run babel node instead of nodemon
...
Quote of @appinteractive:
```
Currently we are running nodemon on production which watches for filechanges and consumes much more memory then just node. As nodemon is only for development, I added a build step to compile the application for production and then only run the dist folder with pure node.
```
2018-12-14 22:30:47 +01:00
Grzegorz Leoniec
794d8361d5
merged master in
2018-12-12 16:30:08 +01:00
Grzegorz Leoniec
755e54f303
Merge pull request #63 from Human-Connection/dependabot/npm_and_yarn/eslint-5.10.0
...
Bump eslint from 5.9.0 to 5.10.0
2018-12-12 16:16:13 +01:00
Grzegorz Leoniec
0d7a7e2ca7
Merge pull request #71 from Human-Connection/dependabot/npm_and_yarn/date-fns-2.0.0-alpha.26
...
Bump date-fns from 2.0.0-alpha.25 to 2.0.0-alpha.26
2018-12-12 16:15:42 +01:00
Grzegorz Leoniec
4a50e40864
Merge pull request #67 from Human-Connection/dependabot/npm_and_yarn/slug-0.9.3
...
Bump slug from 0.9.2 to 0.9.3
2018-12-12 16:15:28 +01:00
Grzegorz Leoniec
dc8fb8b38c
Merge pull request #69 from Human-Connection/dependabot/npm_and_yarn/nodemon-1.18.8
...
Bump nodemon from 1.18.7 to 1.18.8
2018-12-12 14:04:09 +01:00
dependabot[bot]
0fd65793da
Bump date-fns from 2.0.0-alpha.25 to 2.0.0-alpha.26
...
Bumps [date-fns](https://github.com/date-fns/date-fns ) from 2.0.0-alpha.25 to 2.0.0-alpha.26.
- [Release notes](https://github.com/date-fns/date-fns/releases )
- [Changelog](https://github.com/date-fns/date-fns/blob/master/CHANGELOG.md )
- [Commits](https://github.com/date-fns/date-fns/compare/v2.0.0-alpha.25...v2.0.0-alpha.26 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-12 04:35:55 +00:00
Grzegorz Leoniec
0d396712bd
downgrade graphql-middleware
2018-12-11 11:37:53 +01:00
dependabot[bot]
91f60439f4
Bump nodemon from 1.18.7 to 1.18.8
...
Bumps [nodemon](https://github.com/remy/nodemon ) from 1.18.7 to 1.18.8.
- [Release notes](https://github.com/remy/nodemon/releases )
- [Commits](https://github.com/remy/nodemon/compare/v1.18.7...v1.18.8 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 04:26:24 +00:00
dependabot[bot]
9cee0e7883
Bump graphql-shield from 4.1.1 to 4.1.2
...
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield ) from 4.1.1 to 4.1.2.
- [Release notes](https://github.com/maticzav/graphql-shield/releases )
- [Commits](https://github.com/maticzav/graphql-shield/compare/v4.1.1...v4.1.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 04:26:07 +00:00
dependabot[bot]
35e7fd0cca
Bump slug from 0.9.2 to 0.9.3
...
Bumps [slug](https://github.com/Trott/node-slug ) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/Trott/node-slug/releases )
- [Commits](https://github.com/Trott/node-slug/compare/q0.9.2...v0.9.3 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-11 04:25:55 +00:00
Grzegorz Leoniec
afa143a627
added missing nyc dependency
2018-12-10 12:41:19 +01:00
dependabot[bot]
499c6851a7
Bump eslint from 5.9.0 to 5.10.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 5.9.0 to 5.10.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v5.9.0...v5.10.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-12-10 11:35:16 +00:00
Grzegorz Leoniec
faca6069ab
meged mochajs in
2018-12-09 18:40:25 +01:00
Grzegorz Leoniec
1823223281
merged master in
2018-12-09 18:38:58 +01:00
Grzegorz Leoniec
141e1cc7fd
fix nyc testing on build
2018-12-08 14:27:46 +01:00