Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
fix: disable leak test on graphql plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangoacher committed Mar 4, 2020
1 parent a8c6b4c commit 1df055b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/trail-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"dependencies": {
"@nearform/sql": "^1.0.1",
"config": "^3.2.5",
"luxon": "^1.2.0",
"luxon": "^1.22.0",
"minimist": "^1.2.0",
"pg": "^7.4.1",
"pino": "^5.16.0",
Expand Down
5 changes: 2 additions & 3 deletions packages/trail-fastify-graphql-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"coverage": "todo -c test",
"coverage:watch": "jest -i --coverage --watch",
"depcheck": "npx depcheck --ignores=config",
"test": "lab test"
"test": "lab test --leaks"
},
"dependencies": {
"@nearform/trail-core": "^3.0.0",
Expand All @@ -45,12 +45,11 @@
"graphql-jit": "0.4.2",
"graphql-tools": "4.0.7",
"graphql-type-json": "^0.3.1",
"luxon": "1.22.0"
"luxon": "^1.22.0"
},
"devDependencies": {
"@hapi/code": "^8.0.1",
"@hapi/lab": "^22.0.3",
"@nearform/trail-core": "^3.0.0",
"sinon": "^8.1.1"
}
}
2 changes: 1 addition & 1 deletion packages/trail-fastify-graphql-plugin/test/graphql.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

// Leak detection errors reported are likely due to this problem: https://github.com/hapijs/lab/issues/709
// Leak detection errors reported are caused by graphql-tools in graphql-compiler.js

const { expect } = require('@hapi/code')
const Lab = require('@hapi/lab')
Expand Down

0 comments on commit 1df055b

Please sign in to comment.