Skip to content
This repository was archived by the owner on Mar 20, 2023. It is now read-only.

Commit 494d877

Browse files
committed
test: fix failing tests and update dependencies
1 parent f4414b4 commit 494d877

24 files changed

+8240
-6970
lines changed

.eslintrc.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,16 @@ plugins:
1010
- node
1111
- istanbul
1212
- import
13+
- mocha
14+
extends:
15+
- 'plugin:mocha/recommended'
1316
settings:
1417
node:
1518
tryExtensions: ['.js', '.json', '.node', '.ts', '.d.ts']
1619

1720
rules:
21+
mocha/no-mocha-arrows: off
22+
1823
##############################################################################
1924
# Internal rules located in 'resources/eslint-internal-rules'.
2025
# See './resources/eslint-internal-rules/README.md'

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/aws.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/express-graphql.iml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/inspectionProfiles/Project_Default.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ const rootValue = {
1818
const app = express();
1919
app.use(
2020
'/graphql',
21+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
2122
graphqlHTTP({
2223
schema,
2324
rootValue,

examples/index_subscription.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ const subscriptionEndpoint = `ws://localhost:${PORT}/subscriptions`;
1515
const app = express();
1616
app.use(
1717
'/graphql',
18+
// eslint-disable-next-line @typescript-eslint/no-misused-promises
1819
graphqlHTTP({
1920
schema,
2021
rootValue,

0 commit comments

Comments
 (0)