rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
150 lines (67 loc) • 2.28 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [SanitizedEmscriptenTestModule](./rc-js-util.sanitizedemscriptentestmodule.md)
## SanitizedEmscriptenTestModule class
A wrapper for running emscripten modules built with ASAN. To see the full report, you must call `endEmscriptenProgram`<!-- -->.
**Signature:**
```typescript
export declare class SanitizedEmscriptenTestModule<TEmscriptenBindings extends IJsUtilBindings, TWrapperExtensions extends object>
```
## Constructors
<table><thead><tr><th>
Constructor
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[(constructor)(testModule, options, extension)](./rc-js-util.sanitizedemscriptentestmodule._constructor_.md)
</td><td>
</td><td>
Constructs a new instance of the `SanitizedEmscriptenTestModule` class
</td></tr>
</tbody></table>
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[wrapper](./rc-js-util.sanitizedemscriptentestmodule.wrapper.md)
</td><td>
`readonly`
</td><td>
[IEmscriptenWrapper](./rc-js-util.iemscriptenwrapper.md)<!-- --><TEmscriptenBindings & TWrapperExtensions & [IDebugBindings](./rc-js-util.idebugbindings.md)<!-- -->, [ReferenceCountedStrategy](./rc-js-util.referencecountedstrategy.md)<!-- -->>
</td><td>
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[endEmscriptenProgram(errorLoggingAllowed)](./rc-js-util.sanitizedemscriptentestmodule.endemscriptenprogram.md)
</td><td>
</td><td>
NB you MUST set the flag `-s EXIT_RUNTIME=1` for this to work.
</td></tr>
<tr><td>
[initialize()](./rc-js-util.sanitizedemscriptentestmodule.initialize.md)
</td><td>
</td><td>
</td></tr>
<tr><td>
[runWithDisabledErrors(exclusions, callback)](./rc-js-util.sanitizedemscriptentestmodule.runwithdisablederrors.md)
</td><td>
</td><td>
</td></tr>
</tbody></table>