seanpmaxwell / express-generator-typescript

Create a new express app similar to express-generator but with TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tests are not running in a new created repo

acfac opened this issue · comments

commented

Hi there!

Note: this behavior is happening with the last Mac Monterey release and NodeJS 12 and 16.

In a new repo just recently created the tests are not running
To reproduce this issue just create a new repo with 'express-generator-typescript myrepo' for instance and try to run the tests with 'npm run test'

The error I am receiving is this:

image

If I try to fix the type error changing null with undefined and restart:

image

This is what I am receiving:

image

If I also try to remove the deprecated function:

image

This is what happens:

image

fixed