682dced40b
These changes add support for mocking the resource monitor to the NodeJS and Python SDKs. The proposed mock interface is a simplified version of the standard resource monitor that allows an end-user to replace the usual implementations of ReadResource/RegisterResource and Invoke with their own. This can be used in unit tests to allow for precise control of resource outputs and invoke results.
84 lines
2.2 KiB
JSON
84 lines
2.2 KiB
JSON
{
|
|
"compilerOptions": {
|
|
"strict": true,
|
|
"outDir": "bin",
|
|
"target": "es2016",
|
|
"module": "commonjs",
|
|
"moduleResolution": "node",
|
|
"declaration": true,
|
|
"sourceMap": false,
|
|
"stripInternal": true,
|
|
"experimentalDecorators": true,
|
|
"pretty": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noImplicitReturns": true,
|
|
"forceConsistentCasingInFileNames": true
|
|
},
|
|
"files": [
|
|
"index.ts",
|
|
"config.ts",
|
|
"errors.ts",
|
|
"metadata.ts",
|
|
"output.ts",
|
|
"resource.ts",
|
|
"stackReference.ts",
|
|
"utils.ts",
|
|
"version.ts",
|
|
|
|
"asset/index.ts",
|
|
"asset/asset.ts",
|
|
"asset/archive.ts",
|
|
|
|
"dynamic/index.ts",
|
|
|
|
"iterable/index.ts",
|
|
|
|
"log/index.ts",
|
|
|
|
"runtime/index.ts",
|
|
|
|
"runtime/closure/codePaths.ts",
|
|
"runtime/closure/createClosure.ts",
|
|
"runtime/closure/parseFunction.ts",
|
|
"runtime/closure/rewriteSuper.ts",
|
|
"runtime/closure/serializeClosure.ts",
|
|
"runtime/closure/utils.ts",
|
|
"runtime/closure/v8.ts",
|
|
"runtime/closure/v8_v10andLower.ts",
|
|
"runtime/closure/v8_v11andHigher.ts",
|
|
|
|
"runtime/asyncIterableUtil.ts",
|
|
"runtime/config.ts",
|
|
"runtime/debuggable.ts",
|
|
"runtime/invoke.ts",
|
|
"runtime/mocks.ts",
|
|
"runtime/resource.ts",
|
|
"runtime/rpc.ts",
|
|
"runtime/settings.ts",
|
|
"runtime/stack.ts",
|
|
|
|
"cmd/dynamic-provider/index.ts",
|
|
"cmd/run/index.ts",
|
|
"cmd/run/run.ts",
|
|
"cmd/run-policy-pack/index.ts",
|
|
"cmd/run-policy-pack/run.ts",
|
|
|
|
"tests/config.spec.ts",
|
|
"tests/deasync.spec.ts",
|
|
"tests/init.spec.ts",
|
|
"tests/iterable.spec.ts",
|
|
"tests/options.spec.ts",
|
|
"tests/output.spec.ts",
|
|
"tests/resource.spec.ts",
|
|
"tests/testmode.spec.ts",
|
|
"tests/unwrap.spec.ts",
|
|
"tests/util.ts",
|
|
"tests/runtime/asyncIterableUtil.spec.ts",
|
|
"tests/runtime/closureLoader.spec.ts",
|
|
"tests/runtime/tsClosureCases.ts",
|
|
"tests/runtime/props.spec.ts",
|
|
"tests/runtime/langhost/run.spec.ts"
|
|
]
|
|
}
|
|
|