Merge pull request #22 from aleleba/PR-225707

PR-225707: updating packages.
This commit is contained in:
Alejandro Lembke Barrientos 2023-03-06 11:10:56 -06:00 committed by GitHub
commit d65cbe8b37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 612 additions and 590 deletions

View File

@ -4,7 +4,7 @@ This project aims to have a starter kit for creating a new Node with typescript,
Tech(Library or Framework) | Version |
--- | --- |
Jest (Testing) | 29.4.3
Jest (Testing) | 29.5.0
Typescript | 4.9.5
GraphQL | 16.6.0

1186
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "@aleleba/create-node-ts-graphql-server",
"version": "1.2.10",
"version": "1.2.11",
"description": "Node with Typescript and GraphQL Server",
"bin": "./bin/cli.js",
"main": "index.js",
@ -44,7 +44,7 @@
"graphql-playground-middleware-express": "^1.7.23",
"graphql-subscriptions": "^2.0.0",
"graphql-tools": "^8.3.18",
"graphql-ws": "^5.11.3",
"graphql-ws": "^5.12.0",
"web-push": "^3.5.0",
"ws": "^8.12.1"
},
@ -54,7 +54,7 @@
"@babel/preset-typescript": "^7.21.0",
"@babel/register": "^7.21.0",
"@types/jest": "^29.4.0",
"@types/node": "^18.14.4",
"@types/node": "^18.14.6",
"@types/webpack": "^5.28.0",
"@types/webpack-node-externals": "^3.0.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
@ -64,8 +64,8 @@
"compression-webpack-plugin": "^10.0.0",
"eslint": "^8.35.0",
"eslint-webpack-plugin": "^4.0.0",
"jest": "^29.4.3",
"nodemon": "^2.0.20",
"jest": "^29.5.0",
"nodemon": "^2.0.21",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",

View File

@ -5,7 +5,7 @@ describe('global server tests', () => {
beforeEach(() => {
request = supertest(server);
});
test('should return Test data from test Query', async () => {
it('should return Test data from test Query', async () => {
const bodyResponse = {
data: {
test: { test: 'This is the text response for Test Query from a model' }
@ -18,7 +18,7 @@ describe('global server tests', () => {
expect(response.body).toEqual(bodyResponse);
});
test('should return Test data from test Mutation', async () => {
it('should return Test data from test Mutation', async () => {
const bodyResponse = {
data: {
testMutation: {