Closed regexj closed 2 years ago
I am just curious: what was the reason?
Jest required that in order to execute the file with ext of .node it should be specified in the jest config eg:
module.exports = {
moduleFileExtensions: [
'js',
'json',
'node',
'ts',
],
I’ll add it to the wiki.
When running a jest unit test (typescript) the above error is thrown.
The error stack trace originates from
get-urls
the current version of which is using an older version ofurl-regex-safe
.However, after forking and updating this in get-urls: https://github.com/regexj/get-urls the error from jest persists.
Any ideas?