aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--jest.config.js7
-rw-r--r--tsconfig.spec.json4
2 files changed, 10 insertions, 1 deletions
diff --git a/jest.config.js b/jest.config.js
index eef6b07..b7a3dcd 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,4 +1,9 @@
module.exports = {
preset: 'ts-jest',
- testEnvironment: 'node'
+ testEnvironment: 'node',
+ globals: {
+ 'ts-jest': {
+ tsConfig: 'tsconfig.spec.json'
+ }
+ }
};
diff --git a/tsconfig.spec.json b/tsconfig.spec.json
index a8d4317..8de4424 100644
--- a/tsconfig.spec.json
+++ b/tsconfig.spec.json
@@ -1,4 +1,8 @@
{
+ "compilerOptions": {
+ "esModuleInterop": true,
+ "noEmitOnError": false
+ },
"extends": "./tsconfig.json",
"exclude": []
}
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.