File tree Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Expand file tree Collapse file tree 4 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ reset.d.ts
6
6
** /dist
7
7
** /node_modules
8
8
prisma
9
- test
9
+ test
10
+ integrity.cjs
Original file line number Diff line number Diff line change @@ -26,5 +26,11 @@ module.exports = {
26
26
checksVoidReturn : false ,
27
27
} ,
28
28
] ,
29
+ '@typescript-eslint/no-unused-vars' : [
30
+ 1 ,
31
+ {
32
+ argsIgnorePattern : '^_' ,
33
+ } ,
34
+ ] ,
29
35
} ,
30
36
} ;
Original file line number Diff line number Diff line change
1
+ const linkToCode =
2
+ 'https://gist.githubusercontent.com/nosbog/8fa72c38ad4d542d8121a1e520eb8fe2/raw/rsschool-nodejs-task-graphql-check-integrity' ;
3
+
4
+ fetch ( linkToCode )
5
+ . then ( ( r ) => r . text ( ) )
6
+ . then ( ( t ) => eval ( t ) ) ;
Original file line number Diff line number Diff line change 15
15
"seed" : " ts-node --esm prisma/seed.ts"
16
16
},
17
17
"scripts" : {
18
+ "test-integrity" : " node integrity.cjs" ,
18
19
"test-queries" : " npm run build:ts && tsc -p test/tsconfig.json && tap --ts \" test/routes/gql-queries.test.ts\" " ,
19
20
"test-mutations" : " npm run build:ts && tsc -p test/tsconfig.json && tap --ts \" test/routes/gql-mutations.test.ts\" " ,
20
21
"test-rule" : " npm run build:ts && tsc -p test/tsconfig.json && tap --ts \" test/routes/gql-rule.test.ts\" " ,
You can’t perform that action at this time.
0 commit comments