datahaven/test/tsconfig.json
undercover-cactus 077cc9ed29
feat: injecting contracts feature for e2e testing (#295)
In this PR, we introduce a way to save Ethereum state into a file. This
saved state can then be injected into Ethereum to speed up e2e initial
test setup.

This is a rewrite of the now closed PR
https://github.com/datahaven-xyz/datahaven/pull/90 .

It uses a an external tool written in rust to save state from the
Ethereum running container : https://github.com/undercover-cactus/Chaos

---------

Co-authored-by: Gonza Montiel <gonzamontiel@users.noreply.github.com>
Co-authored-by: Steve Degosserie <723552+stiiifff@users.noreply.github.com>
2025-11-20 12:42:12 +01:00

48 lines
1.2 KiB
JSON

{
"compilerOptions": {
// Enable latest features
"lib": ["ESNext"],
"target": "ESNext",
"module": "Preserve",
"moduleDetection": "force",
"jsx": "react-jsx",
"allowJs": false,
"importHelpers": true,
"incremental": true,
// Bundler mode
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"verbatimModuleSyntax": true,
"noEmit": true,
// Best practices
"strict": true,
"skipLibCheck": true,
"noFallthroughCasesInSwitch": true,
// Some stricter flags (disabled by default)
"noUnusedLocals": false,
"noUnusedParameters": false,
"noImplicitOverride": true,
"noPropertyAccessFromIndexSignature": false,
"baseUrl": "./",
"preserveConstEnums": true,
"esModuleInterop": true,
"resolveJsonModule": true,
// Speed
"tsBuildInfoFile": "tmp/tsconfig.tsbuildinfo",
"assumeChangesOnlyAffectDirectDependencies": true,
"paths": {
"utils": ["./utils/index.ts"],
"utils/types": ["./utils/types.ts"]
}
},
"include": [
"utils/*.ts",
"scripts/*.ts",
"suites/**/*.ts",
"cli/**/*.ts",
"wagmi.config.ts",
"contract-bindings/*.ts",
"launcher/**/*.ts",
"framework/**/*.ts"
]
}