Summary
Executes code from JavaScript file.
- Assembly
- Wyam
.Testing .JavaScript .dll - Namespace
- Wyam
.Testing .JavaScript - Containing Type
- TestJsEngine
Syntax
public void ExecuteFile(string path, Encoding encoding = null)
Parameters
Name | Type | Description |
---|---|---|
path | string | Path to the JavaScript file. |
encoding | Encoding | Text encoding. |
Return Value
Type | Description |
---|---|
void |