117 Commits

Author SHA1 Message Date
dependabot[bot]
99c2f9e272
Bump apollo-cache-inmemory from 1.4.2 to 1.4.3
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client) from 1.4.2 to 1.4.3.
- [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-02-15 16:34:32 +00:00
dependabot[bot]
a8dd16f35b
Bump nyc from 13.2.0 to 13.3.0
Bumps [nyc](https://github.com/istanbuljs/nyc) from 13.2.0 to 13.3.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/nyc/compare/v13.2.0...v13.3.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-15 04:21:08 +00:00
dependabot[bot]
6d86769af6
Bump graphql-shield from 5.1.2 to 5.1.3
Bumps [graphql-shield](https://github.com/maticzav/graphql-shield) from 5.1.2 to 5.1.3.
- [Release notes](https://github.com/maticzav/graphql-shield/releases)
- [Commits](https://github.com/maticzav/graphql-shield/compare/v5.1.2...v5.1.3)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-12 17:58:12 +00:00
dependabot[bot]
c390856027
Bump nodemon from 1.18.9 to 1.18.10
Bumps [nodemon](https://github.com/remy/nodemon) from 1.18.9 to 1.18.10.
- [Release notes](https://github.com/remy/nodemon/releases)
- [Commits](https://github.com/remy/nodemon/compare/v1.18.9...v1.18.10)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-02-11 04:29:23 +00:00
Grzegorz Leoniec
871d8318ce
Pinned dependencies and upgraded neo4j-graphql-js to 2.3.1 2019-02-08 09:50:28 +01:00
Grzegorz Leoniec
ad51372228
Upgraded neo4j-graphql-js 2019-02-07 15:57:41 +01:00
Grzegorz Leoniec
788566a7e4
Upgraded remaining dependencies 2019-02-07 15:56:15 +01:00
Grzegorz Leoniec
9dba9b5cf4
Upgraded graphql-shield and graphql-middleware 2019-02-07 15:54:07 +01:00
Grzegorz Leoniec
d84def310b
Upgraded apollo-server and graphql-yoga 2019-02-07 15:52:07 +01:00
Grzegorz Leoniec
ae9ebcc3ab
Upgraded graphql from 0.13.0 to 14.1.1 2019-02-07 15:36:07 +01:00
dependabot[bot]
17d87c6a9d
Bump graphql-yoga from 1.17.0 to 1.17.1
Bumps [graphql-yoga](https://github.com/prisma/graphql-yoga) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/prisma/graphql-yoga/releases)
- [Commits](https://github.com/prisma/graphql-yoga/compare/v1.17.0...v1.17.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-29 03:34:22 +00:00
dependabot[bot]
13f8e57467
Bump eslint-plugin-import from 2.14.0 to 2.15.0
Bumps [eslint-plugin-import](https://github.com/benmosher/eslint-plugin-import) from 2.14.0 to 2.15.0.
- [Release notes](https://github.com/benmosher/eslint-plugin-import/releases)
- [Changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/benmosher/eslint-plugin-import/compare/v2.14.0...v2.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-23 12:46:30 +00:00
dependabot[bot]
3f0bdb792c
Bump supertest from 3.4.1 to 3.4.2
Bumps [supertest](https://github.com/visionmedia/supertest) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Changelog](https://github.com/visionmedia/supertest/blob/master/History.md)
- [Commits](https://github.com/visionmedia/supertest/compare/v3.4.1...v3.4.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-23 04:25:03 +00:00
dependabot[bot]
73c8bb282b
Bump eslint from 5.12.0 to 5.12.1
Bumps [eslint](https://github.com/eslint/eslint) from 5.12.0 to 5.12.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.12.0...v5.12.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-22 13:57:28 +00:00
Robert Schäfer
89326bd856
Merge branch 'master' into 106_authorization 2019-01-18 19:50:37 +01:00
dependabot[bot]
a9d271ca47
Bump apollo-cache-inmemory from 1.3.12 to 1.4.0
Bumps [apollo-cache-inmemory](https://github.com/apollographql/apollo-client) from 1.3.12 to 1.4.0.
- [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/v1.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 09:00:09 +00:00
dependabot[bot]
dfd2550cf8
Bump graphql-yoga from 1.16.7 to 1.17.0
Bumps [graphql-yoga](https://github.com/prisma/graphql-yoga) from 1.16.7 to 1.17.0.
- [Release notes](https://github.com/prisma/graphql-yoga/releases)
- [Commits](https://github.com/prisma/graphql-yoga/compare/v1.16.7...v1.17.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 08:23:32 +00:00
dependabot[bot]
097a4c1b8f
Bump apollo-client from 2.4.8 to 2.4.9
Bumps [apollo-client](https://github.com/apollographql/apollo-client) from 2.4.8 to 2.4.9.
- [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-18 07:59:43 +00:00
dependabot[bot]
4618c1d8be
Bump graphql-tag from 2.10.0 to 2.10.1
Bumps [graphql-tag](https://github.com/apollostack/graphql-tag) from 2.10.0 to 2.10.1.
- [Release notes](https://github.com/apollostack/graphql-tag/releases)
- [Changelog](https://github.com/apollographql/graphql-tag/blob/master/CHANGELOG.md)
- [Commits](https://github.com/apollostack/graphql-tag/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-18 04:19:45 +00:00
Robert Schäfer
65124067f3 Merge remote-tracking branch 'origin/master' into 106_authorization 2019-01-18 02:17:20 +01:00
Robert Schäfer
c1395f7ec1 Fix leakage of subprocesses
@mattwr18 and I could not find any other way how to prevent leftover
processes than using a complex list of npm scripts.

Watch: http://youtu.be/byovuFwNXiw
and see how we despearately try to fix this stupid problem.
2019-01-18 02:09:19 +01:00
dependabot[bot]
b9e348d2d3
Bump eslint-plugin-node from 8.0.0 to 8.0.1
Bumps [eslint-plugin-node](https://github.com/mysticatea/eslint-plugin-node) from 8.0.0 to 8.0.1.
- [Release notes](https://github.com/mysticatea/eslint-plugin-node/releases)
- [Commits](https://github.com/mysticatea/eslint-plugin-node/compare/v8.0.0...v8.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 20:19:53 +00:00
dependabot[bot]
8e6299c804
Bump eslint from 5.11.1 to 5.12.0
Bumps [eslint](https://github.com/eslint/eslint) from 5.11.1 to 5.12.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.11.1...v5.12.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 20:06:56 +00:00
Robert Schäfer
9e4edca35b Use node spawn to spin off several servers 2019-01-17 15:17:18 +01:00
dependabot[bot]
541e44e04c
Bump supertest from 3.3.0 to 3.4.1
Bumps [supertest](https://github.com/visionmedia/supertest) from 3.3.0 to 3.4.1.
- [Release notes](https://github.com/visionmedia/supertest/releases)
- [Changelog](https://github.com/visionmedia/supertest/blob/master/History.md)
- [Commits](https://github.com/visionmedia/supertest/compare/v3.3.0...v3.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-01-17 04:31:44 +00: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