File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 "build" : " yarn prepack" ,
2222 "generate-types" : " graphql-codegen --config codegen.yml" ,
2323 "prepare" : " npx husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks" ,
24- "prepack" : " rm -rf dist" ,
24+ "prepack" : " rm -rf dist && tsc " ,
2525 "test" : " NODE_ENV=test jest" ,
2626 "lint" : " eslint --config .eslintrc.json --ext .js,.ts ./" ,
2727 "lint:fix" : " eslint --fix --config .eslintrc.json --ext .js,.ts ./" ,
Original file line number Diff line number Diff line change 1+ const message = 'Hello, World!' ;
2+ // eslint-disable-next-line no-console
3+ console . log ( message ) ;
Original file line number Diff line number Diff line change 1+ describe ( 'Stub test: ' , ( ) => {
2+ const result = true
3+
4+ describe ( 'Always Pass' , ( ) => {
5+ test ( 'should return a truthy value ' , ( ) => {
6+ expect ( result ) . toBeTruthy ( )
7+ } )
8+ } )
9+ } )
You can’t perform that action at this time.
0 commit comments